Skip to content

Commit 87e3449

Browse files
auto-update benchmark weights
1 parent 287f625 commit 87e3449

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,8 +1029,8 @@ mod dispatches {
10291029
/// Register the hotkey to root network
10301030
#[pallet::call_index(62)]
10311031
#[pallet::weight((Weight::from_parts(135_900_000, 0)
1032-
.saturating_add(T::DbWeight::get().reads(24_u64))
1033-
.saturating_add(T::DbWeight::get().writes(20)), DispatchClass::Normal, Pays::Yes))]
1032+
.saturating_add(T::DbWeight::get().reads(22_u64))
1033+
.saturating_add(T::DbWeight::get().writes(19_u64)), DispatchClass::Normal, Pays::Yes))]
10341034
pub fn root_register(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
10351035
Self::do_root_register(origin, hotkey)
10361036
}
@@ -1051,7 +1051,7 @@ mod dispatches {
10511051
/// The extrinsic for user to change its hotkey in subnet or all subnets.
10521052
#[pallet::call_index(70)]
10531053
#[pallet::weight((Weight::from_parts(275_300_000, 0)
1054-
.saturating_add(T::DbWeight::get().reads(53_u64))
1054+
.saturating_add(T::DbWeight::get().reads(52_u64))
10551055
.saturating_add(T::DbWeight::get().writes(37)), DispatchClass::Normal, Pays::No))]
10561056
pub fn swap_hotkey(
10571057
origin: OriginFor<T>,

0 commit comments

Comments
 (0)