Skip to content

Commit f7c1fe4

Browse files
committed
fix migrations
1 parent 4bf3cd6 commit f7c1fe4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

substrate/frame/staking/src/migrations.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ pub mod v17 {
7171
let mut migration_errors = false;
7272

7373
v16::MaxValidatorsCount::<T>::kill();
74-
v16::ErasStakers::<T>::kill();
75-
v16::ErasStakersClipped::<T>::kill();
74+
v16::ErasStakers::<T>::remove_all(None);
75+
v16::ErasStakersClipped::<T>::remove_all(None);
7676

7777
let old_disabled_validators = v16::DisabledValidators::<T>::get();
7878
// BoundedVec with MaxDisabledValidators limit, this should always work

0 commit comments

Comments
 (0)