Skip to content

Commit 9d0ea5d

Browse files
auto-update benchmark weights
1 parent 00d5003 commit 9d0ea5d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

pallets/admin-utils/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ pub mod pallet {
275275
/// It is only callable by the root account or subnet owner.
276276
/// The extrinsic will call the Subtensor pallet to set the weights version key.
277277
#[pallet::call_index(6)]
278-
#[pallet::weight(Weight::from_parts(17_460_000, 0)
278+
#[pallet::weight(Weight::from_parts(13_770_000, 0)
279279
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(1_u64))
280280
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
281281
pub fn sudo_set_weights_version_key(
@@ -1294,7 +1294,7 @@ pub mod pallet {
12941294
/// # Weight
12951295
/// Weight is handled by the `#[pallet::weight]` attribute.
12961296
#[pallet::call_index(57)]
1297-
#[pallet::weight(Weight::from_parts(19_320_000, 0)
1297+
#[pallet::weight(Weight::from_parts(13_910_000, 0)
12981298
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(1_u64))
12991299
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
13001300
pub fn sudo_set_commit_reveal_weights_interval(
@@ -1653,7 +1653,7 @@ pub mod pallet {
16531653
/// Sets the commit-reveal weights version for all subnets
16541654
#[pallet::call_index(71)]
16551655
#[pallet::weight((
1656-
Weight::from_parts(7_114_000, 0)
1656+
Weight::from_parts(5_321_000, 0)
16571657
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1))
16581658
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(0_u64)),
16591659
DispatchClass::Operational,

pallets/drand/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ pub mod pallet {
332332
impl<T: Config> Pallet<T> {
333333
/// Verify and write a pulse from the beacon into the runtime
334334
#[pallet::call_index(0)]
335-
#[pallet::weight(Weight::from_parts(4_294_000_000, 0)
335+
#[pallet::weight(Weight::from_parts(5_212_000_000, 0)
336336
.saturating_add(T::DbWeight::get().reads(3_u64))
337337
.saturating_add(T::DbWeight::get().writes(4_u64)))]
338338
pub fn write_pulse(

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(88_900_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>>,
@@ -279,7 +279,7 @@ mod dispatches {
279279
/// - Attempting to commit when the user has more than the allowed limit of unrevealed commits.
280280
///
281281
#[pallet::call_index(99)]
282-
#[pallet::weight((Weight::from_parts(77_750_000, 0)
282+
#[pallet::weight((Weight::from_parts(61_200_000, 0)
283283
.saturating_add(T::DbWeight::get().reads(7_u64))
284284
.saturating_add(T::DbWeight::get().writes(2)), DispatchClass::Normal, Pays::No))]
285285
pub fn commit_crv3_weights(

0 commit comments

Comments
 (0)