From a3aa92fa7d8308fb963f53b767f3e8af05656b0d Mon Sep 17 00:00:00 2001 From: Overkillus Date: Wed, 30 Oct 2024 13:40:42 +0000 Subject: [PATCH] #64 fix --- polkadot/runtime/parachains/src/runtime_api_impl/v10.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/polkadot/runtime/parachains/src/runtime_api_impl/v10.rs b/polkadot/runtime/parachains/src/runtime_api_impl/v10.rs index 697890232211..fc3f2520c4aa 100644 --- a/polkadot/runtime/parachains/src/runtime_api_impl/v10.rs +++ b/polkadot/runtime/parachains/src/runtime_api_impl/v10.rs @@ -531,7 +531,12 @@ pub fn disabled_validators() -> Vec where T: shared::Config, { - >::disabled_validators() + // Manually accounting for issue #64 + if shared::Pallet::::on_chain_storage_version() == StorageVersion::new(15) { + shared::migration::v15::DisabledValidators::::get() + } else { + shared::Pallet::::disabled_validators() + } } /// Returns the current state of the node features.