Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pallets/subtensor/src/macros/dispatches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ mod dispatches {
/// The extrinsic for user to change its hotkey in subnet or all subnets.
#[pallet::call_index(70)]
#[pallet::weight((Weight::from_parts(275_300_000, 0)
.saturating_add(T::DbWeight::get().reads(49_u64))
.saturating_add(T::DbWeight::get().reads(53_u64))
.saturating_add(T::DbWeight::get().writes(37)), DispatchClass::Normal, Pays::No))]
pub fn swap_hotkey(
origin: OriginFor<T>,
Expand Down Expand Up @@ -1134,7 +1134,7 @@ mod dispatches {
///
#[pallet::call_index(75)]
#[pallet::weight((
Weight::from_parts(45_360_000, 0)
Weight::from_parts(66_450_000, 0)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2)),
DispatchClass::Normal,
Expand Down
2 changes: 1 addition & 1 deletion pallets/utility/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ pub mod pallet {
} else {
Self::deposit_event(Event::BatchCompleted);
}
let base_weight = T::WeightInfo::batch(calls_len as u32);
let base_weight = T::WeightInfo::force_batch(calls_len as u32);
Ok(Some(base_weight.saturating_add(weight)).into())
}

Expand Down