Remove already triggered migrations (#2764)

* Remove BabeEpochConfigMigrations

* Remove remaining migrations

* Remove unused migration definitions
This commit is contained in:
Ashley
2021-04-12 13:29:52 +02:00
committed by GitHub
parent 2d21599ec5
commit 195772c5d4
3 changed files with 3 additions and 94 deletions
+1 -10
View File
@@ -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>;