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 bcda857 commit 3f38ea2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ fn account_vote<T: Config>(b: BalanceOf<T>) -> AccountVote<BalanceOf<T>> {
}

benchmarks! {
_ { }

propose {
let p = T::MaxProposals::get();

Expand Down

0 comments on commit 3f38ea2

Please sign in to comment.