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

This commit is contained in:
André Silva authored and GitHub committed 2021-05-03 17:27:32 +02:00
1 parent 7830bae524
commit c0fcaa6bd9
3 files changed
-18

No files matched your search

-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 {