pallet-vesting: Configurable block number provider (#2403)
This PR makes the block number provider configurable through the Config
trait in pallet-vesting, this gives parachains the option to use the
relay chain block number provider from ParachainSystem.
---------
Co-authored-by:
Bastian Köcher <git@kchr.de>
Showing
- polkadot/runtime/common/src/claims.rs 1 addition, 0 deletionspolkadot/runtime/common/src/claims.rs
- polkadot/runtime/common/src/purchase.rs 1 addition, 0 deletionspolkadot/runtime/common/src/purchase.rs
- polkadot/runtime/rococo/src/lib.rs 1 addition, 0 deletionspolkadot/runtime/rococo/src/lib.rs
- polkadot/runtime/test-runtime/src/lib.rs 1 addition, 0 deletionspolkadot/runtime/test-runtime/src/lib.rs
- polkadot/runtime/westend/src/lib.rs 1 addition, 0 deletionspolkadot/runtime/westend/src/lib.rs
- prdoc/pr_2403.prdoc 9 additions, 0 deletionsprdoc/pr_2403.prdoc
- substrate/bin/node/runtime/src/lib.rs 1 addition, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/system/src/lib.rs 5 additions, 0 deletionssubstrate/frame/system/src/lib.rs
- substrate/frame/vesting/src/benchmarking.rs 4 additions, 4 deletionssubstrate/frame/vesting/src/benchmarking.rs
- substrate/frame/vesting/src/lib.rs 8 additions, 5 deletionssubstrate/frame/vesting/src/lib.rs
- substrate/frame/vesting/src/mock.rs 1 addition, 0 deletionssubstrate/frame/vesting/src/mock.rs
Please register or sign in to comment