Skip to content

Commit

Permalink
#64 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Overkillus committed Oct 30, 2024
1 parent 9ebd8a7 commit a3aa92f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion polkadot/runtime/parachains/src/runtime_api_impl/v10.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,12 @@ pub fn disabled_validators<T>() -> Vec<ValidatorIndex>
where
T: shared::Config,
{
<shared::Pallet<T>>::disabled_validators()
// Manually accounting for issue #64
if shared::Pallet::<T>::on_chain_storage_version() == StorageVersion::new(15) {
shared::migration::v15::DisabledValidators::<T>::get()
} else {
shared::Pallet::<T>::disabled_validators()
}
}

/// Returns the current state of the node features.
Expand Down

0 comments on commit a3aa92f

Please sign in to comment.