Skip to content

Commit 514b354

Browse files
committed
cargo fmt
1 parent f5e1147 commit 514b354

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pallets/subtensor/src/migrations/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ pub(crate) fn remove_prefix<T: Config>(module: &str, old_map: &str, weight: &mut
120120
log::info!("Removed {removed_entries_count:?} entries from {old_map:?} map.");
121121

122122
*weight = (*weight).saturating_add(T::DbWeight::get().writes(removed_entries_count));
123-
}
123+
}

runtime/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
616616
| RuntimeCall::Sudo(..)
617617
),
618618
ProxyType::Triumvirate => false, // deprecated
619-
ProxyType::Senate => false, // deprecated
620-
ProxyType::Governance => false, // deprecated
619+
ProxyType::Senate => false, // deprecated
620+
ProxyType::Governance => false, // deprecated
621621
ProxyType::Staking => matches!(
622622
c,
623623
RuntimeCall::SubtensorModule(pallet_subtensor::Call::add_stake { .. })
@@ -1522,7 +1522,6 @@ type Migrations = (
15221522
pallet_subtensor::migrations::migrate_init_total_issuance::initialise_total_issuance::Migration<
15231523
Runtime,
15241524
>,
1525-
15261525
// Remove storage from removed governance pallets
15271526
frame_support::migrations::RemovePallet<TriumviratePalletStr, RocksDbWeight>,
15281527
frame_support::migrations::RemovePallet<TriumvirateMembersPalletStr, RocksDbWeight>,

0 commit comments

Comments
 (0)