Skip to content

Commit 506092d

Browse files
auto-update benchmark weights
1 parent b9f3684 commit 506092d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ mod dispatches {
693693
/// - Attempting to set prometheus information withing the rate limit min.
694694
///
695695
#[pallet::call_index(4)]
696-
#[pallet::weight((Weight::from_parts(36_090_000, 0)
696+
#[pallet::weight((Weight::from_parts(25_840_000, 0)
697697
.saturating_add(T::DbWeight::get().reads(4))
698698
.saturating_add(T::DbWeight::get().writes(1)), DispatchClass::Normal, Pays::No))]
699699
pub fn serve_axon(
@@ -1609,8 +1609,8 @@ mod dispatches {
16091609
/// - Thrown if key has hit transaction rate limit
16101610
#[pallet::call_index(84)]
16111611
#[pallet::weight((Weight::from_parts(294_800_000, 0)
1612-
.saturating_add(T::DbWeight::get().reads(33))
1613-
.saturating_add(T::DbWeight::get().writes(16)), DispatchClass::Operational, Pays::Yes))]
1612+
.saturating_add(T::DbWeight::get().reads(38_u64))
1613+
.saturating_add(T::DbWeight::get().writes(21_u64)), DispatchClass::Operational, Pays::Yes))]
16141614
pub fn unstake_all_alpha(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
16151615
Self::do_unstake_all_alpha(origin, hotkey)
16161616
}
@@ -1723,8 +1723,8 @@ mod dispatches {
17231723
#[pallet::call_index(87)]
17241724
#[pallet::weight((
17251725
Weight::from_parts(274_400_000, 0)
1726-
.saturating_add(T::DbWeight::get().reads(32))
1727-
.saturating_add(T::DbWeight::get().writes(17)),
1726+
.saturating_add(T::DbWeight::get().reads(37_u64))
1727+
.saturating_add(T::DbWeight::get().writes(22_u64)),
17281728
DispatchClass::Operational,
17291729
Pays::Yes
17301730
))]
@@ -1896,8 +1896,8 @@ mod dispatches {
18961896
#[pallet::call_index(90)]
18971897
#[pallet::weight((
18981898
Weight::from_parts(330_400_000, 0)
1899-
.saturating_add(T::DbWeight::get().reads(32))
1900-
.saturating_add(T::DbWeight::get().writes(17)),
1899+
.saturating_add(T::DbWeight::get().reads(37_u64))
1900+
.saturating_add(T::DbWeight::get().writes(22_u64)),
19011901
DispatchClass::Operational,
19021902
Pays::Yes
19031903
))]

0 commit comments

Comments
 (0)