Skip to content

Commit fcdc3ab

Browse files
auto-update benchmark weights
1 parent 81667e1 commit fcdc3ab

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
@@ -577,8 +577,8 @@ pub mod pallet {
577577
/// It is only callable by the root account or subnet owner.
578578
/// The extrinsic will call the Subtensor pallet to set the kappa.
579579
#[pallet::call_index(16)]
580-
#[pallet::weight(Weight::from_parts(26_210_000, 0)
581-
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(3_u64))
580+
#[pallet::weight(Weight::from_parts(15_390_000, 0)
581+
.saturating_add(<T as frame_system::Config>::DbWeight::get().reads(1_u64))
582582
.saturating_add(<T as frame_system::Config>::DbWeight::get().writes(1_u64)))]
583583
pub fn sudo_set_kappa(origin: OriginFor<T>, netuid: NetUid, kappa: u16) -> DispatchResult {
584584
ensure_root(origin)?;
@@ -1242,7 +1242,7 @@ pub mod pallet {
12421242
/// The extrinsic will call the Subtensor pallet to set the minimum delegate take.
12431243
#[pallet::call_index(46)]
12441244
#[pallet::weight((
1245-
Weight::from_parts(5_000_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)),
1245+
Weight::from_parts(7_214_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)),
12461246
DispatchClass::Operational,
12471247
Pays::Yes
12481248
))]

0 commit comments

Comments
 (0)