mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-02 07:17:09 +00:00
runtime: remove BabePalletPrefix impls for old migration (#2967)
This commit is contained in:
1 parent
7830bae524
commit
c0fcaa6bd9
3 files changed
-18
No files matched your search
@@ -1238,12 +1238,6 @@ construct_runtime! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pallet_babe::migrations::BabePalletPrefix for Runtime {
|
|
||||||
fn pallet_prefix() -> &'static str {
|
|
||||||
"Babe"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct ParachainHostConfigurationMigration;
|
pub struct ParachainHostConfigurationMigration;
|
||||||
impl frame_support::traits::OnRuntimeUpgrade for ParachainHostConfigurationMigration {
|
impl frame_support::traits::OnRuntimeUpgrade for ParachainHostConfigurationMigration {
|
||||||
fn on_runtime_upgrade() -> frame_support::weights::Weight {
|
fn on_runtime_upgrade() -> frame_support::weights::Weight {
|
||||||
|
|||||||
@@ -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.
|
/// The address format for describing accounts.
|
||||||
pub type Address = sp_runtime::MultiAddress<AccountId, ()>;
|
pub type Address = sp_runtime::MultiAddress<AccountId, ()>;
|
||||||
/// Block header type as expected by this runtime.
|
/// Block header type as expected by this runtime.
|
||||||
|
|||||||
@@ -959,12 +959,6 @@ construct_runtime! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pallet_babe::migrations::BabePalletPrefix for Runtime {
|
|
||||||
fn pallet_prefix() -> &'static str {
|
|
||||||
"Babe"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct ParachainHostConfigurationMigration;
|
pub struct ParachainHostConfigurationMigration;
|
||||||
impl frame_support::traits::OnRuntimeUpgrade for ParachainHostConfigurationMigration {
|
impl frame_support::traits::OnRuntimeUpgrade for ParachainHostConfigurationMigration {
|
||||||
fn on_runtime_upgrade() -> frame_support::weights::Weight {
|
fn on_runtime_upgrade() -> frame_support::weights::Weight {
|
||||||
|
|||||||
Reference in new issue
Block a user