Skip to content

Commit ce32347

Browse files
auto-update benchmark weights
1 parent d07cce9 commit ce32347

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
@@ -527,8 +527,8 @@ pub mod pallet {
527527
/// It is only callable by the root account and subnet owner.
528528
/// The extrinsic will call the Subtensor pallet to set the maximum allowed UIDs for a subnet.
529529
#[pallet::call_index(15)]
530-
#[pallet::weight(Weight::from_parts(18_800_000, 0)
531-
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(2_u64))
530+
#[pallet::weight(Weight::from_parts(32_140_000, 0)
531+
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(5_u64))
532532
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
533533
pub fn sudo_set_max_allowed_uids(
534534
origin: OriginFor<T>,
@@ -837,7 +837,7 @@ pub mod pallet {
837837
/// It is only callable by the root account or subnet owner.
838838
/// The extrinsic will call the Subtensor pallet to set the difficulty.
839839
#[pallet::call_index(24)]
840-
#[pallet::weight(Weight::from_parts(26_230_000, 0)
840+
#[pallet::weight(Weight::from_parts(38_500_000, 0)
841841
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(3_u64))
842842
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
843843
pub fn sudo_set_difficulty(

0 commit comments

Comments
 (0)