Remove migrations that have been executed. (#986)

This commit is contained in:
Squirrel
2022-02-21 11:25:54 +00:00
committed by GitHub
parent 1918632332
commit d1a5414b59
2 changed files with 2 additions and 16 deletions
+1 -8
View File
@@ -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;
+1 -8
View File
@@ -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;