mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-22 03:36:18 +00:00
Remove migrations that have been executed. (#986)
This commit is contained in:
1 parent
1918632332
commit
d1a5414b59
2 files changed
+2
-16
No files matched your search
@@ -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