From d1a5414b5928f359b1a1fe8e9d4bee2c3f767166 Mon Sep 17 00:00:00 2001 From: Squirrel Date: Mon, 21 Feb 2022 11:25:54 +0000 Subject: [PATCH] Remove migrations that have been executed. (#986) --- polkadot-parachains/statemine/src/lib.rs | 9 +-------- polkadot-parachains/westmint/src/lib.rs | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/polkadot-parachains/statemine/src/lib.rs b/polkadot-parachains/statemine/src/lib.rs index 1fb07e2d8e..6b72526e4f 100644 --- a/polkadot-parachains/statemine/src/lib.rs +++ b/polkadot-parachains/statemine/src/lib.rs @@ -602,16 +602,9 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - UniquesV1Migration, + (), >; -pub struct UniquesV1Migration; -impl frame_support::traits::OnRuntimeUpgrade for UniquesV1Migration { - fn on_runtime_upgrade() -> Weight { - pallet_uniques::migration::migrate_to_v1::() - } -} - #[cfg(feature = "runtime-benchmarks")] #[macro_use] extern crate frame_benchmarking; diff --git a/polkadot-parachains/westmint/src/lib.rs b/polkadot-parachains/westmint/src/lib.rs index c85f269308..f234972de0 100644 --- a/polkadot-parachains/westmint/src/lib.rs +++ b/polkadot-parachains/westmint/src/lib.rs @@ -594,16 +594,9 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - UniquesV1Migration, + (), >; -pub struct UniquesV1Migration; -impl frame_support::traits::OnRuntimeUpgrade for UniquesV1Migration { - fn on_runtime_upgrade() -> Weight { - pallet_uniques::migration::migrate_to_v1::() - } -} - #[cfg(feature = "runtime-benchmarks")] #[macro_use] extern crate frame_benchmarking;