From 86cc09791a0ba51556c0123644110565feed1bd7 Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 25 Jan 2023 21:43:48 +0100 Subject: [PATCH 1/5] polkadot: clear migrations included in 0.9.37 --- runtime/polkadot/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index bdb6ff337cc3..00aa1e570ef6 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, From 755f2c60f743b96ebe57f7c77715d692a50c4f86 Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 25 Jan 2023 21:44:04 +0100 Subject: [PATCH 2/5] rococo: clear migrations included in 0.9.37 --- runtime/rococo/src/lib.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 9e2479110eab..5a92e1b74430 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, From 31180555f35a9024b854f97145e2026e55d885bf Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 25 Jan 2023 21:44:06 +0100 Subject: [PATCH 3/5] westend: clear migrations included in 0.9.37 --- runtime/westend/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index f3c74a1a0b4f..5c5fbe1866e1 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, From a43266e158c5097542de8db26755432b58852bbd Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 25 Jan 2023 21:44:14 +0100 Subject: [PATCH 4/5] kusama: clear migrations included in 0.9.37 --- runtime/kusama/src/lib.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index d9e25ac06afd..73806fa5d8bf 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1486,19 +1486,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, From 546f1e9cef80899a1ce03d6c6f31706f64d30e29 Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 25 Jan 2023 22:43:59 +0100 Subject: [PATCH 5/5] remove unused import: xcm_config::CheckAccount --- runtime/kusama/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 73806fa5d8bf..5316eae24810 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;