From be3c71b3deae9f2cdae6fdc0900a4dd10f13d991 Mon Sep 17 00:00:00 2001 From: "Bill.W" <0xbillw@gmail.com> Date: Fri, 17 Jan 2025 15:33:47 +0800 Subject: [PATCH] fix: the type imports that were mistakenly deleted in the previous commit. --- pallets/file-bank/src/migration.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pallets/file-bank/src/migration.rs b/pallets/file-bank/src/migration.rs index 48730e52..4095bd10 100644 --- a/pallets/file-bank/src/migration.rs +++ b/pallets/file-bank/src/migration.rs @@ -1,6 +1,6 @@ use super::*; use frame_support::{ - storage_alias, + storage_alias, weights::WeightMeter, migrations::{MigrationId, SteppedMigration, SteppedMigrationError}, }; @@ -9,9 +9,7 @@ use sp_runtime::Vec; #[cfg(feature = "try-runtime")] use sp_std::collections::btree_map::BTreeMap; #[cfg(feature = "try-runtime")] -use sp_runtime::{TryRuntimeError}; -#[cfg(feature = "try-runtime")] -use frame_support::weights::WeightMeter; +use sp_runtime::TryRuntimeError; pub const PALLET_MIGRATIONS_ID: &[u8; 26] = b"pallet-file-bank-migration";