Update Pallet Referenda to support Block Number Provider (#6338)
This PR introduces BlockNumberProvider config for the referenda pallet.
closes part of https://github.com/paritytech/polkadot-sdk/issues/6297
Polkadot address: 12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW
---------
Co-authored-by:
muharem <ismailov.m.h@gmail.com>
Showing
- cumulus/parachains/runtimes/collectives/collectives-westend/src/ambassador/mod.rs 1 addition, 0 deletions...mes/collectives/collectives-westend/src/ambassador/mod.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/fellowship/mod.rs 1 addition, 0 deletions...mes/collectives/collectives-westend/src/fellowship/mod.rs
- polkadot/runtime/rococo/src/governance/fellowship.rs 1 addition, 0 deletionspolkadot/runtime/rococo/src/governance/fellowship.rs
- polkadot/runtime/rococo/src/governance/mod.rs 1 addition, 0 deletionspolkadot/runtime/rococo/src/governance/mod.rs
- polkadot/runtime/westend/src/governance/mod.rs 1 addition, 0 deletionspolkadot/runtime/westend/src/governance/mod.rs
- prdoc/pr_6338.prdoc 14 additions, 0 deletionsprdoc/pr_6338.prdoc
- substrate/bin/node/runtime/src/lib.rs 2 additions, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/referenda/src/benchmarking.rs 9 additions, 7 deletionssubstrate/frame/referenda/src/benchmarking.rs
- substrate/frame/referenda/src/lib.rs 59 additions, 49 deletionssubstrate/frame/referenda/src/lib.rs
- substrate/frame/referenda/src/migration.rs 181 additions, 6 deletionssubstrate/frame/referenda/src/migration.rs
- substrate/frame/referenda/src/mock.rs 1 addition, 0 deletionssubstrate/frame/referenda/src/mock.rs
- substrate/frame/referenda/src/types.rs 10 additions, 6 deletionssubstrate/frame/referenda/src/types.rs
Please register or sign in to comment