From 45f4155c334be5b91ad848aff81e5d7bb48c3970 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Fri, 27 Jan 2023 14:46:12 +0100 Subject: [PATCH] clear migrations included in 0.9.37 (#6630) * polkadot: clear migrations included in 0.9.37 * rococo: clear migrations included in 0.9.37 * westend: clear migrations included in 0.9.37 * kusama: clear migrations included in 0.9.37 * remove unused import: xcm_config::CheckAccount --- runtime/kusama/src/lib.rs | 14 -------------- runtime/polkadot/src/lib.rs | 8 -------- runtime/rococo/src/lib.rs | 7 ------- runtime/westend/src/lib.rs | 8 -------- 4 files changed, 37 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index d45aff4517bf..c3cac3b0a057 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -109,7 +109,6 @@ use governance::{ old::CouncilCollective, pallet_custom_origins, AuctionAdmin, Fellows, GeneralAdmin, LeaseAdmin, StakingAdmin, Treasurer, TreasurySpender, }; -use xcm_config::CheckAccount; #[cfg(test)] mod tests; @@ -1486,19 +1485,6 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { /// /// Should be cleared after every release. pub type Migrations = ( - pallet_balances::migration::ResetInactive, - // We need to apply this migration again, because `ResetInactive` resets the state again. - pallet_balances::migration::MigrateToTrackInactive, - crowdloan::migration::MigrateToTrackInactiveV2, - pallet_referenda::migration::v1::MigrateV0ToV1, - pallet_referenda::migration::v1::MigrateV0ToV1< - Runtime, - governance::FellowshipReferendaInstance, - >, - pallet_scheduler::migration::v4::CleanupAgendas, - pallet_staking::migrations::v13::MigrateToV13, - parachains_disputes::migration::v1::MigrateToV1, - parachains_configuration::migration::v4::MigrateToV4, // "Use 2D weights in XCM v3" pallet_xcm::migration::v1::MigrateToV1, parachains_ump::migration::v1::MigrateToV1, diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index dc7e28dc2943..1e8a1649efe4 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1602,14 +1602,6 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { /// /// Should be cleared after every release. pub type Migrations = ( - pallet_balances::migration::ResetInactive, - // We need to apply this migration again, because `ResetInactive` resets the state again. - pallet_balances::migration::MigrateToTrackInactive, - crowdloan::migration::MigrateToTrackInactiveV2, - pallet_scheduler::migration::v4::CleanupAgendas, - pallet_staking::migrations::v13::MigrateToV13, - parachains_disputes::migration::v1::MigrateToV1, - parachains_configuration::migration::v4::MigrateToV4, // "Use 2D weights in XCM v3" pallet_xcm::migration::v1::MigrateToV1, parachains_ump::migration::v1::MigrateToV1, diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index c2a353a48ef0..920bbc827c7d 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1485,13 +1485,6 @@ pub type UncheckedExtrinsic = /// /// Should be cleared after every release. pub type Migrations = ( - pallet_balances::migration::ResetInactive, - // We need to apply this migration again, because `ResetInactive` resets the state again. - pallet_balances::migration::MigrateToTrackInactive, - crowdloan::migration::MigrateToTrackInactiveV2, - pallet_scheduler::migration::v4::CleanupAgendas, - parachains_disputes::migration::v1::MigrateToV1, - parachains_configuration::migration::v4::MigrateToV4, // "Use 2D weights in XCM v3" pallet_xcm::migration::v1::MigrateToV1, parachains_ump::migration::v1::MigrateToV1, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 738b9611a2e3..632c38d24568 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1238,14 +1238,6 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { /// /// Should be cleared after every release. pub type Migrations = ( - pallet_balances::migration::ResetInactive, - // We need to apply this migration again, because `ResetInactive` resets the state again. - pallet_balances::migration::MigrateToTrackInactive, - crowdloan::migration::MigrateToTrackInactiveV2, - pallet_scheduler::migration::v4::CleanupAgendas, - pallet_staking::migrations::v13::MigrateToV13, - parachains_disputes::migration::v1::MigrateToV1, - parachains_configuration::migration::v4::MigrateToV4, init_state_migration::InitMigrate, // "Use 2D weights in XCM v3" pallet_xcm::migration::v1::MigrateToV1,