We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bf3cd6 commit f7c1fe4Copy full SHA for f7c1fe4
1 file changed
substrate/frame/staking/src/migrations.rs
@@ -71,8 +71,8 @@ pub mod v17 {
71
let mut migration_errors = false;
72
73
v16::MaxValidatorsCount::<T>::kill();
74
- v16::ErasStakers::<T>::kill();
75
- v16::ErasStakersClipped::<T>::kill();
+ v16::ErasStakers::<T>::remove_all(None);
+ v16::ErasStakersClipped::<T>::remove_all(None);
76
77
let old_disabled_validators = v16::DisabledValidators::<T>::get();
78
// BoundedVec with MaxDisabledValidators limit, this should always work
0 commit comments