From 6c5e2970d8ea857d25533ddf45d33f35abe99557 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Mon, 29 Jan 2024 13:21:44 +0100 Subject: [PATCH] [pallet-vesting] adapt https://github.com/paritytech/polkadot-sdk/pull/2403 --- relay/kusama/src/lib.rs | 1 + relay/polkadot/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index d3a7de16e2..4c1d073516 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -1031,6 +1031,7 @@ impl pallet_vesting::Config for Runtime { type MinVestedTransfer = MinVestedTransfer; type WeightInfo = weights::pallet_vesting::WeightInfo; type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; + type BlockNumberProvider = System; const MAX_VESTING_SCHEDULES: u32 = 28; } diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index e4b774153a..f5298a1f3c 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -1065,6 +1065,7 @@ impl pallet_vesting::Config for Runtime { type MinVestedTransfer = MinVestedTransfer; type WeightInfo = weights::pallet_vesting::WeightInfo; type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; + type BlockNumberProvider = System; const MAX_VESTING_SCHEDULES: u32 = 28; }