Skip to content

Commit 67908b6

Browse files
auto-update benchmark weights
1 parent d93ba92 commit 67908b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ mod dispatches {
413413
/// - Attempting to set weights with max value exceeding limit.
414414
///
415415
#[pallet::call_index(8)]
416-
#[pallet::weight((Weight::from_parts(2_684_000, 0)
416+
#[pallet::weight((Weight::from_parts(2_083_000, 0)
417417
.saturating_add(T::DbWeight::get().reads(0_u64))
418418
.saturating_add(T::DbWeight::get().writes(0_u64)), DispatchClass::Normal, Pays::No))]
419419
pub fn set_tao_weights(
@@ -1575,7 +1575,7 @@ mod dispatches {
15751575
/// * `TxRateLimitExceeded`:
15761576
/// - Thrown if key has hit transaction rate limit
15771577
#[pallet::call_index(83)]
1578-
#[pallet::weight((Weight::from_parts(28_910_000, 0)
1578+
#[pallet::weight((Weight::from_parts(22_070_000, 0)
15791579
.saturating_add(T::DbWeight::get().reads(6))
15801580
.saturating_add(T::DbWeight::get().writes(0)), DispatchClass::Operational, Pays::Yes))]
15811581
pub fn unstake_all(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
@@ -1608,7 +1608,7 @@ mod dispatches {
16081608
/// * `TxRateLimitExceeded`:
16091609
/// - Thrown if key has hit transaction rate limit
16101610
#[pallet::call_index(84)]
1611-
#[pallet::weight((Weight::from_parts(395_800_000, 0)
1611+
#[pallet::weight((Weight::from_parts(291_900_000, 0)
16121612
.saturating_add(T::DbWeight::get().reads(33))
16131613
.saturating_add(T::DbWeight::get().writes(16)), DispatchClass::Operational, Pays::Yes))]
16141614
pub fn unstake_all_alpha(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
@@ -2075,7 +2075,7 @@ mod dispatches {
20752075
/// at which or better (higher) the staking should execute.
20762076
/// Without limit_price it remove all the stake similar to `remove_stake` extrinsic
20772077
#[pallet::call_index(103)]
2078-
#[pallet::weight((Weight::from_parts(421_500_000, 10142)
2078+
#[pallet::weight((Weight::from_parts(313_200_000, 10142)
20792079
.saturating_add(T::DbWeight::get().reads(30_u64))
20802080
.saturating_add(T::DbWeight::get().writes(14_u64)), DispatchClass::Normal, Pays::Yes))]
20812081
pub fn remove_stake_full_limit(
@@ -2156,7 +2156,7 @@ mod dispatches {
21562156
/// Emits a `SymbolUpdated` event on success.
21572157
#[pallet::call_index(112)]
21582158
#[pallet::weight((
2159-
Weight::from_parts(28_910_000, 0).saturating_add(T::DbWeight::get().reads_writes(4, 1)),
2159+
Weight::from_parts(19_600_000, 0).saturating_add(T::DbWeight::get().reads_writes(4, 1)),
21602160
DispatchClass::Operational,
21612161
Pays::Yes
21622162
))]

0 commit comments

Comments
 (0)