From 2c738735275bfca32afce26cc51d97e84ab7ab19 Mon Sep 17 00:00:00 2001
From: Squirrel <gilescope@gmail.com>
Date: Mon, 21 Feb 2022 11:25:54 +0000
Subject: [PATCH] Remove migrations that have been executed. (#986)

---
 cumulus/polkadot-parachains/statemine/src/lib.rs | 9 +--------
 cumulus/polkadot-parachains/westmint/src/lib.rs  | 9 +--------
 2 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/cumulus/polkadot-parachains/statemine/src/lib.rs b/cumulus/polkadot-parachains/statemine/src/lib.rs
index 1fb07e2d8e9..6b72526e4fc 100644
--- a/cumulus/polkadot-parachains/statemine/src/lib.rs
+++ b/cumulus/polkadot-parachains/statemine/src/lib.rs
@@ -602,16 +602,9 @@ pub type Executive = frame_executive::Executive<
 	frame_system::ChainContext<Runtime>,
 	Runtime,
 	AllPalletsWithSystem,
-	UniquesV1Migration,
+	(),
 >;
 
-pub struct UniquesV1Migration;
-impl frame_support::traits::OnRuntimeUpgrade for UniquesV1Migration {
-	fn on_runtime_upgrade() -> Weight {
-		pallet_uniques::migration::migrate_to_v1::<Runtime, _, Uniques>()
-	}
-}
-
 #[cfg(feature = "runtime-benchmarks")]
 #[macro_use]
 extern crate frame_benchmarking;
diff --git a/cumulus/polkadot-parachains/westmint/src/lib.rs b/cumulus/polkadot-parachains/westmint/src/lib.rs
index c85f269308a..f234972de05 100644
--- a/cumulus/polkadot-parachains/westmint/src/lib.rs
+++ b/cumulus/polkadot-parachains/westmint/src/lib.rs
@@ -594,16 +594,9 @@ pub type Executive = frame_executive::Executive<
 	frame_system::ChainContext<Runtime>,
 	Runtime,
 	AllPalletsWithSystem,
-	UniquesV1Migration,
+	(),
 >;
 
-pub struct UniquesV1Migration;
-impl frame_support::traits::OnRuntimeUpgrade for UniquesV1Migration {
-	fn on_runtime_upgrade() -> Weight {
-		pallet_uniques::migration::migrate_to_v1::<Runtime, _, Uniques>()
-	}
-}
-
 #[cfg(feature = "runtime-benchmarks")]
 #[macro_use]
 extern crate frame_benchmarking;
-- 
GitLab