diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 57659f81cbdb..041a9f0d9d64 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1461,14 +1461,20 @@ impl Get for NominationPoolsMigrationV4OldPallet { /// /// This contains the combined migrations of the last 10 releases. It allows to skip runtime /// upgrades in case governance decides to do so. THE ORDER IS IMPORTANT. -pub type Migrations = - (migrations::V0940, migrations::V0941, migrations::V0942, migrations::Unreleased); +pub type Migrations = ( + migrations::V0939, + migrations::V0940, + migrations::V0941, + migrations::V0942, + migrations::Unreleased, +); /// The runtime migrations per release. #[allow(deprecated, missing_docs)] pub mod migrations { use super::*; + pub type V0939 = (); pub type V0940 = ( pallet_nomination_pools::migration::v4::MigrateToV4< Runtime, diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 7c06ee84901c..3667cd0c3dc3 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1437,14 +1437,29 @@ impl Get for NominationPoolsMigrationV4OldPallet { /// /// This contains the combined migrations of the last 10 releases. It allows to skip runtime /// upgrades in case governance decides to do so. THE ORDER IS IMPORTANT. -pub type Migrations = - (migrations::V0940, migrations::V0941, migrations::V0942, migrations::Unreleased); +pub type Migrations = ( + migrations::V0938, + migrations::V0939, + migrations::V0940, + migrations::V0941, + migrations::V0942, + migrations::Unreleased, +); /// The runtime migrations per release. #[allow(deprecated, missing_docs)] pub mod migrations { use super::*; + pub type V0938 = ( + // "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 V0939 = (); pub type V0940 = ( pallet_nomination_pools::migration::v4::MigrateToV4< Runtime, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index e7675c34fc91..63e1d219dc65 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1213,28 +1213,11 @@ impl Get for NominationPoolsMigrationV4OldPallet { /// /// This contains the combined migrations of the last 10 releases. It allows to skip runtime /// upgrades in case governance decides to do so. THE ORDER IS IMPORTANT. -pub type Migrations = - (migrations::V0940, migrations::V0941, migrations::V0942, migrations::Unreleased); +pub type Migrations = (migrations::Unreleased,); /// The runtime migrations per release. #[allow(deprecated, missing_docs)] pub mod migrations { - use super::*; - - pub type V0940 = ( - clean_state_migration::CleanMigrate, - pallet_nomination_pools::migration::v4::MigrateToV4< - Runtime, - NominationPoolsMigrationV4OldPallet, - >, - pallet_nomination_pools::migration::v5::MigrateToV5, - ); - pub type V0941 = (); // Node only release - no migrations. - pub type V0942 = ( - parachains_configuration::migration::v5::MigrateToV5, - pallet_offences::migration::v1::MigrateToV1, - ); - /// Unreleased migrations. Add new ones here: pub type Unreleased = (); }