runtime: remove BabePalletPrefix impls for old migration (#2967)

This commit is contained in:
André Silva
2021-05-03 16:27:32 +01:00
committed by GitHub
parent 7830bae524
commit c0fcaa6bd9
3 changed files with 0 additions and 18 deletions
-6
View File
@@ -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 {
-6
View File
@@ -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<AccountId, ()>;
/// Block header type as expected by this runtime.
-6
View File
@@ -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 {