mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 22:41:02 +00:00
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>
This commit is contained in:
committed by
GitHub
parent
50b7b6f399
commit
c2d45e7e47
@@ -948,6 +948,7 @@ impl pallet_vesting::Config for Runtime {
|
||||
type MinVestedTransfer = MinVestedTransfer;
|
||||
type WeightInfo = weights::pallet_vesting::WeightInfo<Runtime>;
|
||||
type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons;
|
||||
type BlockNumberProvider = System;
|
||||
const MAX_VESTING_SCHEDULES: u32 = 28;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user