Further Improve Gov V2 Stuff (#12028)
* refactor and improve successful origin * use appropriate origin for creating referendum * fmt * add setup tally feature for benchmarks * feedback updates * fmt * Update frame/referenda/src/benchmarking.rs Co-authored-by:Gavin Wood <gavin@parity.io> * feedback on `setup` trait * fix Co-authored-by:
Gavin Wood <gavin@parity.io>
Showing
- substrate/frame/conviction-voting/src/types.rs 3 additions, 0 deletionssubstrate/frame/conviction-voting/src/types.rs
- substrate/frame/ranked-collective/src/lib.rs 109 additions, 28 deletionssubstrate/frame/ranked-collective/src/lib.rs
- substrate/frame/ranked-collective/src/tests.rs 17 additions, 0 deletionssubstrate/frame/ranked-collective/src/tests.rs
- substrate/frame/referenda/src/benchmarking.rs 65 additions, 53 deletionssubstrate/frame/referenda/src/benchmarking.rs
- substrate/frame/referenda/src/mock.rs 3 additions, 0 deletionssubstrate/frame/referenda/src/mock.rs
- substrate/frame/support/src/traits/voting.rs 13 additions, 0 deletionssubstrate/frame/support/src/traits/voting.rs
Please register or sign in to comment