Skip to content

Commit efbe782

Browse files
auto-update benchmark weights
1 parent 28deede commit efbe782

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pallets/admin-utils/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ pub mod pallet {
15791579
/// Weight is handled by the `#[pallet::weight]` attribute.
15801580
#[pallet::call_index(62)]
15811581
#[pallet::weight((
1582-
Weight::from_parts(6_392_000, 3507)
1582+
Weight::from_parts(10_020_000, 3507)
15831583
.saturating_add(T::DbWeight::get().reads(1_u64)),
15841584
DispatchClass::Operational,
15851585
Pays::Yes
@@ -1661,7 +1661,7 @@ pub mod pallet {
16611661
/// Weight is handled by the `#[pallet::weight]` attribute.
16621662
#[pallet::call_index(65)]
16631663
#[pallet::weight((
1664-
Weight::from_parts(3_918_000, 0)
1664+
Weight::from_parts(6_201_000, 0)
16651665
.saturating_add(T::DbWeight::get().writes(1_u64)),
16661666
DispatchClass::Operational,
16671667
Pays::Yes

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,8 +1585,8 @@ mod dispatches {
15851585
/// - Thrown if key has hit transaction rate limit
15861586
#[pallet::call_index(84)]
15871587
#[pallet::weight((Weight::from_parts(358_500_000, 0)
1588-
.saturating_add(T::DbWeight::get().reads(36_u64))
1589-
.saturating_add(T::DbWeight::get().writes(21_u64)), DispatchClass::Normal, Pays::Yes))]
1588+
.saturating_add(T::DbWeight::get().reads(39_u64))
1589+
.saturating_add(T::DbWeight::get().writes(24_u64)), DispatchClass::Normal, Pays::Yes))]
15901590
pub fn unstake_all_alpha(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
15911591
Self::do_unstake_all_alpha(origin, hotkey)
15921592
}

0 commit comments

Comments
 (0)