Skip to content

Commit 9cf797f

Browse files
auto-update benchmark weights
1 parent 7ccea37 commit 9cf797f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pallets/admin-utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ pub mod pallet {
731731
/// It is only callable by the root account.
732732
/// The extrinsic will call the Subtensor pallet to set the target registrations per interval.
733733
#[pallet::call_index(21)]
734-
#[pallet::weight(Weight::from_parts(44_320_000, 0)
734+
#[pallet::weight(Weight::from_parts(25_980_000, 0)
735735
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(3_u64))
736736
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
737737
pub fn sudo_set_target_registrations_per_interval(

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ mod dispatches {
10581058
/// The extrinsic for user to change its hotkey in subnet or all subnets.
10591059
#[pallet::call_index(70)]
10601060
#[pallet::weight((Weight::from_parts(275_300_000, 0)
1061-
.saturating_add(T::DbWeight::get().reads(47))
1061+
.saturating_add(T::DbWeight::get().reads(49_u64))
10621062
.saturating_add(T::DbWeight::get().writes(37)), DispatchClass::Normal, Pays::No))]
10631063
pub fn swap_hotkey(
10641064
origin: OriginFor<T>,
@@ -2293,8 +2293,8 @@ mod dispatches {
22932293
/// - The hotkey account to designate as the autostake destination.
22942294
#[pallet::call_index(114)]
22952295
#[pallet::weight((Weight::from_parts(29_930_000, 0)
2296-
.saturating_add(T::DbWeight::get().reads(3_u64))
2297-
.saturating_add(T::DbWeight::get().writes(1)), DispatchClass::Normal, Pays::No))]
2296+
.saturating_add(T::DbWeight::get().reads(4_u64))
2297+
.saturating_add(T::DbWeight::get().writes(2_u64)), DispatchClass::Normal, Pays::No))]
22982298
pub fn set_coldkey_auto_stake_hotkey(
22992299
origin: T::RuntimeOrigin,
23002300
netuid: NetUid,

0 commit comments

Comments
 (0)