Skip to content

Commit 798b67f

Browse files
auto-update benchmark weights
1 parent 6228842 commit 798b67f

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
@@ -186,7 +186,7 @@ mod dispatches {
186186
/// - On failure for each failed item in the batch.
187187
///
188188
#[pallet::call_index(100)]
189-
#[pallet::weight((Weight::from_parts(81_450_000, 0)
189+
#[pallet::weight((Weight::from_parts(64_320_000, 0)
190190
.saturating_add(T::DbWeight::get().reads(8))
191191
.saturating_add(T::DbWeight::get().writes(2)), DispatchClass::Normal, Pays::No))]
192192
pub fn batch_commit_weights(
@@ -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_700_000, 0)
416+
#[pallet::weight((Weight::from_parts(2_033_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(
@@ -454,7 +454,7 @@ mod dispatches {
454454
/// - The hotkey we are delegating is not owned by the calling coldket.
455455
///
456456
#[pallet::call_index(1)]
457-
#[pallet::weight((Weight::from_parts(3_000_000, 0)
457+
#[pallet::weight((Weight::from_parts(2_363_000, 0)
458458
.saturating_add(T::DbWeight::get().reads(0))
459459
.saturating_add(T::DbWeight::get().writes(0)), DispatchClass::Normal, Pays::Yes))]
460460
pub fn become_delegate(_origin: OriginFor<T>, _hotkey: T::AccountId) -> DispatchResult {
@@ -827,7 +827,7 @@ mod dispatches {
827827
/// - The ip type v4 or v6.
828828
///
829829
#[pallet::call_index(5)]
830-
#[pallet::weight((Weight::from_parts(24_350_000, 0)
830+
#[pallet::weight((Weight::from_parts(30_170_000, 0)
831831
.saturating_add(T::DbWeight::get().reads(4))
832832
.saturating_add(T::DbWeight::get().writes(1)), DispatchClass::Normal, Pays::No))]
833833
pub fn serve_prometheus(
@@ -1931,7 +1931,7 @@ mod dispatches {
19311931
/// Will charge based on the weight even if the hotkey is already associated with a coldkey.
19321932
#[pallet::call_index(91)]
19331933
#[pallet::weight((
1934-
Weight::from_parts(27_620_000, 0).saturating_add(T::DbWeight::get().reads_writes(3, 3)),
1934+
Weight::from_parts(19_930_000, 0).saturating_add(T::DbWeight::get().reads_writes(3, 3)),
19351935
DispatchClass::Operational,
19361936
Pays::Yes
19371937
))]

0 commit comments

Comments
 (0)