Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

WeightInfo for System, Timestamp, and Utility #6868

Merged
15 commits merged into from
Aug 17, 2020
Prev Previous commit
Next Next commit
Revert "add trait bounds"
This reverts commit 12b08b7.
  • Loading branch information
shawntabrizi committed Aug 17, 2020
commit a79855abf17d769d9699e36f158579beff618e61
4 changes: 2 additions & 2 deletions frame/benchmarking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ macro_rules! benchmark_backend {
#[allow(unused_variables)]
impl<T: Trait $( <$instance>, I: Instance)? >
$crate::BenchmarkingSetup<T $(, $instance)? > for $name
where T: frame_system::Trait, $( $where_clause )*
where $( $where_clause )*
{
fn components(&self) -> Vec<($crate::BenchmarkParameter, u32, u32)> {
vec! [
Expand Down Expand Up @@ -659,7 +659,7 @@ macro_rules! selected_benchmark {
// Allow us to select a benchmark from the list of available benchmarks.
impl<T: Trait $( <$instance>, I: Instance )? >
$crate::BenchmarkingSetup<T $(, $instance )? > for SelectedBenchmark
where T: frame_system::Trait, $( $where_clause )*
where $( $where_clause )*
{
fn components(&self) -> Vec<($crate::BenchmarkParameter, u32, u32)> {
match self {
Expand Down