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;