mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Remove already triggered migrations (#2764)
* Remove BabeEpochConfigMigrations * Remove remaining migrations * Remove unused migration definitions
This commit is contained in:
@@ -809,15 +809,6 @@ impl pallet_babe::migrations::BabePalletPrefix for Runtime {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct BabeEpochConfigMigrations;
|
||||
impl frame_support::traits::OnRuntimeUpgrade for BabeEpochConfigMigrations {
|
||||
fn on_runtime_upgrade() -> frame_support::weights::Weight {
|
||||
pallet_babe::migrations::add_epoch_configuration::<Runtime>(
|
||||
BABE_GENESIS_EPOCH_CONFIG,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/// The address format for describing accounts.
|
||||
pub type Address = sp_runtime::MultiAddress<AccountId, ()>;
|
||||
/// Block header type as expected by this runtime.
|
||||
@@ -849,7 +840,7 @@ pub type Executive = frame_executive::Executive<
|
||||
frame_system::ChainContext<Runtime>,
|
||||
Runtime,
|
||||
AllPallets,
|
||||
(BabeEpochConfigMigrations, UpgradeSessionKeys),
|
||||
(),
|
||||
>;
|
||||
/// The payload being signed in transactions.
|
||||
pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>;
|
||||
|
||||
Reference in New Issue
Block a user