mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 04:17:57 +00:00
Remove migrations that have been executed. (#986)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user