Skip to content
  • Marcio Diaz's avatar
    Benchmark Democracy Pallet (#5257) · 5a48cade
    Marcio Diaz authored
    
    
    * Add origin bounds to benchmark macro.
    
    * Add democracy benchmark.
    
    * Fix tests
    
    * Remove collective from frame/benchmarking, partially use EnsureOrigin.
    
    * Remove collective stuff.
    
    * Make previous benches compile again.
    
    * Remove comments.
    
    * Make prev bench to work again.
    
    * Add remove votes.
    
    * Add new proxy calls.
    
    * Add runtime-benchmarks guard to EnsureOrigin and implementations.
    
    * Refactor.
    
    * Add missing import.
    
    * Remove duplicated import
    
    * Fix features.
    
    * Add some missing features.
    
    * Update frame/collective/Cargo.toml
    
    Co-Authored-By: default avatarKian Paimani <[email protected]>
    
    * Update frame/democracy/src/benchmarking.rs
    
    Co-Authored-By: default avatarKian Paimani <[email protected]>
    
    * Update frame/democracy/src/benchmarking.rs
    
    Co-Authored-By: default avatarKian Paimani <[email protected]>
    
    * Add referendums to state.
    
    * populate vecs before call
    
    * Update weight docs
    
    * More fixes and weight docs
    
    * More updates
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    Co-authored-by: default avatarShawn Tabrizi <[email protected]>
    5a48cade