From c0fcaa6bd979f359ae7a2bc5498234eb7e6d84dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= <123550+andresilva@users.noreply.github.com> Date: Mon, 3 May 2021 16:27:32 +0100 Subject: [PATCH] runtime: remove BabePalletPrefix impls for old migration (#2967) --- polkadot/runtime/kusama/src/lib.rs | 6 ------ polkadot/runtime/polkadot/src/lib.rs | 6 ------ polkadot/runtime/westend/src/lib.rs | 6 ------ 3 files changed, 18 deletions(-) diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 8ba7e9cfe5..614a563aef 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -1238,12 +1238,6 @@ construct_runtime! { } } -impl pallet_babe::migrations::BabePalletPrefix for Runtime { - fn pallet_prefix() -> &'static str { - "Babe" - } -} - pub struct ParachainHostConfigurationMigration; impl frame_support::traits::OnRuntimeUpgrade for ParachainHostConfigurationMigration { fn on_runtime_upgrade() -> frame_support::weights::Weight { diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 34abe9f98b..a9ab23a43b 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -1027,12 +1027,6 @@ construct_runtime! { } } -impl pallet_babe::migrations::BabePalletPrefix for Runtime { - fn pallet_prefix() -> &'static str { - "Babe" - } -} - /// The address format for describing accounts. pub type Address = sp_runtime::MultiAddress; /// Block header type as expected by this runtime. diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index 7d85faa7fb..51dd975b72 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -959,12 +959,6 @@ construct_runtime! { } } -impl pallet_babe::migrations::BabePalletPrefix for Runtime { - fn pallet_prefix() -> &'static str { - "Babe" - } -} - pub struct ParachainHostConfigurationMigration; impl frame_support::traits::OnRuntimeUpgrade for ParachainHostConfigurationMigration { fn on_runtime_upgrade() -> frame_support::weights::Weight {