Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed migrations from tag
v1.1.2
(polkadot-fellows#195)
Removed already applied migrations from release `v1.1.2`. Relates to: polkadot-fellows#140 Patch generated from release branch [v1.1.2](https://github.com/polkadot-fellows/runtimes/tree/v1.1.2): ``` diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index fd93687ad..11f299b71 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -1680,10 +1680,7 @@ pub mod migrations { use super::Runtime; /// Unreleased migrations. Add new ones here: - pub type Unreleased = ( - pallet_nomination_pools::migration::versioned_migrations::V5toV6<Runtime>, - pallet_nomination_pools::migration::versioned_migrations::V6ToV7<Runtime>, - ); + pub type Unreleased = (); } /// Unchecked extrinsic type as expected by this runtime. diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 97ce4dbd1..ea3019201 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -1689,23 +1689,8 @@ pub type Migrations = migrations::Unreleased; pub mod migrations { use super::*; - /// Upgrade Session keys to include BEEFY key. - /// When this is removed, should also remove `OldSessionKeys`. - pub struct UpgradeSessionKeys; - impl frame_support::traits::OnRuntimeUpgrade for UpgradeSessionKeys { - fn on_runtime_upgrade() -> Weight { - Session::upgrade_keys::<OldSessionKeys, _>(transform_session_keys); - Perbill::from_percent(50) * BlockWeights::get().max_block - } - } - /// Unreleased migrations. Add new ones here: - pub type Unreleased = ( - // Upgrade SessionKeys to include BEEFY key - UpgradeSessionKeys, - pallet_nomination_pools::migration::versioned_migrations::V5toV6<Runtime>, - pallet_nomination_pools::migration::versioned_migrations::V6ToV7<Runtime>, - ); + pub type Unreleased = (); } /// Unchecked extrinsic type as expected by this runtime. diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index c19c24e14..bb3e85845 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -851,17 +851,7 @@ pub type SignedExtra = ( pub type UncheckedExtrinsic = generic::UncheckedExtrinsic<Address, RuntimeCall, Signature, SignedExtra>; /// Migrations to apply on runtime upgrade. -pub type Migrations = - frame_support::migrations::VersionedMigration<0, 1, UniquesMigration, Uniques, RocksDbWeight>; - -/// Migration for Uniques to V1 -pub struct UniquesMigration; - -impl OnRuntimeUpgrade for UniquesMigration { - fn on_runtime_upgrade() -> Weight { - pallet_uniques::migration::migrate_to_v1::<Runtime, (), pallet_uniques::Pallet<Runtime>>() - } -} +pub type Migrations = (); /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< ``` <!-- Remember that you can run `/merge` to enable auto-merge in the PR --> <!-- Remember to modify the changelog. If you don't need to modify it, you can check the following box. Instead, if you have already modified it, simply delete the following line. --> - [X] Does not require a CHANGELOG entry
- Loading branch information