diff --git a/cumulus/polkadot-parachains/statemine/src/lib.rs b/cumulus/polkadot-parachains/statemine/src/lib.rs index 1fb07e2d8e96ba8fe6a72cec6b398931afdb4311..6b72526e4fc8e0a6e84e707b0c56e733c7c67b14 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 c85f269308a50c2d9dbb5a698fa7603a77a90a11..f234972de053cbce8a78576a4a97364c8acc0edb 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;