Skip to content

Commit 01c89a5

Browse files
auto-update benchmark weights
1 parent 8fe6bcd commit 01c89a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pallets/admin-utils/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ pub mod pallet {
405405
/// It is only callable by the root account or subnet owner.
406406
/// The extrinsic will call the Subtensor pallet to set the adjustment beta.
407407
#[pallet::call_index(12)]
408-
#[pallet::weight(Weight::from_parts(19_240_000, 0)
408+
#[pallet::weight(Weight::from_parts(15_130_000, 0)
409409
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(1_u64))
410410
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
411411
pub fn sudo_set_max_weight_limit(
@@ -480,7 +480,7 @@ pub mod pallet {
480480
/// It is only callable by the root account.
481481
/// The extrinsic will call the Subtensor pallet to set the maximum allowed UIDs for a subnet.
482482
#[pallet::call_index(15)]
483-
#[pallet::weight(Weight::from_parts(23_820_000, 0)
483+
#[pallet::weight(Weight::from_parts(18_760_000, 0)
484484
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(2_u64))
485485
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
486486
pub fn sudo_set_max_allowed_uids(
@@ -1102,7 +1102,7 @@ pub mod pallet {
11021102
/// It is only callable by the root account or subnet owner.
11031103
/// The extrinsic will call the Subtensor pallet to set the value.
11041104
#[pallet::call_index(49)]
1105-
#[pallet::weight(Weight::from_parts(19_480_000, 0)
1105+
#[pallet::weight(Weight::from_parts(14_980_000, 0)
11061106
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(1_u64))
11071107
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
11081108
pub fn sudo_set_commit_reveal_weights_enabled(

0 commit comments

Comments
 (0)