Skip to content

Commit 76ae063

Browse files
auto-update benchmark weights
1 parent 8b25c1d commit 76ae063

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ mod dispatches {
120120
/// - On failure for each failed item in the batch.
121121
///
122122
#[pallet::call_index(80)]
123-
#[pallet::weight((Weight::from_parts(19_330_000, 0)
124-
.saturating_add(T::DbWeight::get().reads(1_u64))
125-
.saturating_add(T::DbWeight::get().writes(0_u64)), DispatchClass::Normal, Pays::No))]
123+
#[pallet::weight((Weight::from_parts(95_310_000, 0)
124+
.saturating_add(T::DbWeight::get().reads(14_u64))
125+
.saturating_add(T::DbWeight::get().writes(2_u64)), DispatchClass::Normal, Pays::No))]
126126
pub fn batch_set_weights(
127127
origin: OriginFor<T>,
128128
netuids: Vec<Compact<NetUid>>,
@@ -966,7 +966,7 @@ mod dispatches {
966966
/// Weight is calculated based on the number of database reads and writes.
967967
#[pallet::call_index(71)]
968968
#[pallet::weight((Weight::from_parts(161_700_000, 0)
969-
.saturating_add(T::DbWeight::get().reads(14))
969+
.saturating_add(T::DbWeight::get().reads(15_u64))
970970
.saturating_add(T::DbWeight::get().writes(9)), DispatchClass::Operational, Pays::No))]
971971
pub fn swap_coldkey(
972972
origin: OriginFor<T>,

0 commit comments

Comments
 (0)