fix : remove _{ } syntax from benchmark macro (#7822)

* 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>
This commit is contained in:
Stanly Johnson
2021-01-06 07:21:02 +05:30
committed by GitHub
parent 3f629f743b
commit d2ac8bd941
28 changed files with 74 additions and 185 deletions
@@ -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>(