From fc04ee9db1b5dab5c95d298fa387da907bb4d4ce Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 22 Feb 2023 17:39:14 +0100 Subject: [PATCH 1/4] kusama: clean up executed migrations --- runtime/kusama/src/lib.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 50160837fd38..c1b55dec36c0 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1485,15 +1485,7 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { /// All migrations that will run on the next runtime upgrade. /// /// Should be cleared after every release. -pub type Migrations = ( - // "Use 2D weights in XCM v3" - pallet_xcm::migration::v1::MigrateToV1, - parachains_ump::migration::v1::MigrateToV1, - // Remove stale entries in the set id -> session index storage map (after - // this release they will be properly pruned after the bonding duration has - // elapsed) - pallet_grandpa::migrations::CleanupSetIdSessionMap, -); +pub type Migrations = (); /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = From b6b9742b7f4bdaf30152fa58e284b2d93066fe87 Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 22 Feb 2023 17:39:19 +0100 Subject: [PATCH 2/4] polkadot: clean up executed migrations --- runtime/polkadot/src/lib.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 4269316c62e6..b7b6bd34a7f1 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1606,15 +1606,7 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { /// All migrations that will run on the next runtime upgrade. /// /// Should be cleared after every release. -pub type Migrations = ( - // "Use 2D weights in XCM v3" - pallet_xcm::migration::v1::MigrateToV1, - parachains_ump::migration::v1::MigrateToV1, - // Remove stale entries in the set id -> session index storage map (after - // this release they will be properly pruned after the bonding duration has - // elapsed) - pallet_grandpa::migrations::CleanupSetIdSessionMap, -); +pub type Migrations = (); /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = From 65d594917a54e0fbab846deafc9c3e28a4d5bfaf Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 22 Feb 2023 17:39:21 +0100 Subject: [PATCH 3/4] rococo: clean up executed migrations --- runtime/rococo/src/lib.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 137d2abcfd59..5f9de80e3301 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1509,15 +1509,7 @@ pub type UncheckedExtrinsic = /// All migrations that will run on the next runtime upgrade. /// /// Should be cleared after every release. -pub type Migrations = ( - // "Use 2D weights in XCM v3" - pallet_xcm::migration::v1::MigrateToV1, - parachains_ump::migration::v1::MigrateToV1, - // Remove stale entries in the set id -> session index storage map (after - // this release they will be properly pruned after the bonding duration has - // elapsed) - pallet_grandpa::migrations::CleanupSetIdSessionMap, -); +pub type Migrations = (); /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< From 6a1d23f51f4c680935c1cc274972972357aa2386 Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Wed, 22 Feb 2023 17:39:22 +0100 Subject: [PATCH 4/4] westend: clean up executed migrations --- runtime/westend/src/lib.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index dc2a67cb1494..9dc59d80dcd9 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1226,16 +1226,7 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { /// All migrations that will run on the next runtime upgrade. /// /// Should be cleared after every release. -pub type Migrations = ( - clean_state_migration::CleanMigrate, - // "Use 2D weights in XCM v3" - pallet_xcm::migration::v1::MigrateToV1, - parachains_ump::migration::v1::MigrateToV1, - // Remove stale entries in the set id -> session index storage map (after - // this release they will be properly pruned after the bonding duration has - // elapsed) - pallet_grandpa::migrations::CleanupSetIdSessionMap, -); +pub type Migrations = (clean_state_migration::CleanMigrate,); /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic =