Skip to content

Commit

Permalink
fix : remove _{ } syntax from benchmark macro (#7822)
Browse files Browse the repository at this point in the history
* commented use of common

* hack to pass tests

* another hack

* remove all commented code

* fix the easy tests

* temp hack

* follow through comma hack until better solution

* patch macro

* missed one

* update benchmarks

* update docs

* fix docs

* removed too much

* fix changes

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
  • Loading branch information
stanly-johnson and shawntabrizi committed Jan 6, 2021
1 parent c4b30b8 commit d099086
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ fn assert_last_event<T: Config<I>, I: Instance>(generic_event: <T as Config<I>>:
}

benchmarks_instance! {
_{ }


set_members {
let m in 1 .. T::MaxMembers::get();
let n in 1 .. T::MaxMembers::get();
Expand Down

0 comments on commit d099086

Please sign in to comment.