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 authored Jan 6, 2021
1 parent afba981 commit fae10cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions benchmarking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ impl<T: Config> OnInitialize<T::BlockNumber> for Module<T> {
}

benchmarks! {
_ { }

set_keys {
let n = MAX_NOMINATIONS as u32;
let (v_stash, _) = create_validator_with_nominators::<T>(
Expand Down

0 comments on commit fae10cc

Please sign in to comment.