We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de93437 commit bc4a34eCopy full SHA for bc4a34e
pallets/xc-asset-config/src/migrations.rs
@@ -47,7 +47,6 @@ mod unchecked_migration {
47
impl<const XCM_VERSION: u32, T: Config> UncheckedOnRuntimeUpgrade
48
for UncheckedMigrationXcmVersion<XCM_VERSION, T>
49
{
50
- #[allow(deprecated)]
51
fn on_runtime_upgrade() -> Weight {
52
let mut consumed_weight = Weight::zero();
53
@@ -67,7 +66,7 @@ mod unchecked_migration {
67
66
},
68
);
69
70
- // 2rd map
+ // 2nd map
71
let location_to_id_entries: Vec<_> = AssetLocationToId::<T>::drain().collect();
72
for (multi_location, asset_id) in location_to_id_entries {
73
consumed_weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1));
0 commit comments