substrate #9202 companion: Multiple vesting schedules (#3407)

* substrate #9202 companion: Multiple vesting schedules

* Update weights inline with substrate updates

* Use 28 vesting schedules

* Add MaxSchedulesParam everywhere

* Fix var name errors

* rever accidental changes to test-runtime

* try merge origin master

* Revert "try merge origin master"

This reverts commit 398d65d1ac6fad1112f94de3d8c351bcf33aa5a0.

* update to pass integrity test

* Make integrity tests work

* Revert const to storage MinVestedTransfer

* Use MAX_VESTING_SCHEDULES const

* Update Cargo.lock to make it compile

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Zeke Mostov
2021-08-23 17:56:38 -07:00
committed by GitHub
parent e0244f9769
commit aec7f47a24
10 changed files with 334 additions and 281 deletions
+2 -1
View File
@@ -773,7 +773,7 @@ mod tests {
}
parameter_types! {
pub const MinVestedTransfer: u64 = 0;
pub const MinVestedTransfer: u64 = 1;
}
impl pallet_vesting::Config for Test {
@@ -782,6 +782,7 @@ mod tests {
type BlockNumberToBalance = Identity;
type MinVestedTransfer = MinVestedTransfer;
type WeightInfo = ();
const MAX_VESTING_SCHEDULES: u32 = 28;
}
parameter_types! {