From f7c1fe4f113449b14d6323f2543d5a83752d192e Mon Sep 17 00:00:00 2001 From: giuseppere Date: Wed, 18 Dec 2024 15:01:43 +0100 Subject: [PATCH] fix migrations --- substrate/frame/staking/src/migrations.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/frame/staking/src/migrations.rs b/substrate/frame/staking/src/migrations.rs index 7c66f629ce5e..0e98a9633022 100644 --- a/substrate/frame/staking/src/migrations.rs +++ b/substrate/frame/staking/src/migrations.rs @@ -71,8 +71,8 @@ pub mod v17 { let mut migration_errors = false; v16::MaxValidatorsCount::::kill(); - v16::ErasStakers::::kill(); - v16::ErasStakersClipped::::kill(); + v16::ErasStakers::::remove_all(None); + v16::ErasStakersClipped::::remove_all(None); let old_disabled_validators = v16::DisabledValidators::::get(); // BoundedVec with MaxDisabledValidators limit, this should always work