Skip to content

Commit fae10cc

Browse files
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>
1 parent afba981 commit fae10cc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

benchmarking/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ impl<T: Config> OnInitialize<T::BlockNumber> for Module<T> {
5151
}
5252

5353
benchmarks! {
54-
_ { }
55-
5654
set_keys {
5755
let n = MAX_NOMINATIONS as u32;
5856
let (v_stash, _) = create_validator_with_nominators::<T>(

0 commit comments

Comments
 (0)