From c5b5276f856f5083063da406e75e14edaa4c7007 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Wed, 22 Feb 2023 18:39:55 +0100 Subject: [PATCH] clean up executed migrations (#6763) * kusama: clean up executed migrations * polkadot: clean up executed migrations * rococo: clean up executed migrations * westend: clean up executed migrations --- polkadot/runtime/kusama/src/lib.rs | 10 +--------- polkadot/runtime/polkadot/src/lib.rs | 10 +--------- polkadot/runtime/rococo/src/lib.rs | 10 +--------- polkadot/runtime/westend/src/lib.rs | 11 +---------- 4 files changed, 4 insertions(+), 37 deletions(-) diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 50160837fd..c1b55dec36 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/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 = diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 4269316c62..b7b6bd34a7 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/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 = diff --git a/polkadot/runtime/rococo/src/lib.rs b/polkadot/runtime/rococo/src/lib.rs index 137d2abcfd..5f9de80e33 100644 --- a/polkadot/runtime/rococo/src/lib.rs +++ b/polkadot/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< diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index dc2a67cb14..9dc59d80dc 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/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 =