Skip to content

Commit f9efe9f

Browse files
auto-update benchmark weights
1 parent dc90812 commit f9efe9f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 6 additions & 6 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(95_160_000, 0)
124-
.saturating_add(T::DbWeight::get().reads(14))
125-
.saturating_add(T::DbWeight::get().writes(2)), DispatchClass::Normal, Pays::No))]
123+
#[pallet::weight((Weight::from_parts(19_530_000, 0)
124+
.saturating_add(T::DbWeight::get().reads(1_u64))
125+
.saturating_add(T::DbWeight::get().writes(0_u64)), DispatchClass::Normal, Pays::No))]
126126
pub fn batch_set_weights(
127127
origin: OriginFor<T>,
128128
netuids: Vec<Compact<NetUid>>,
@@ -413,7 +413,7 @@ mod dispatches {
413413
/// - Attempting to set weights with max value exceeding limit.
414414
///
415415
#[pallet::call_index(8)]
416-
#[pallet::weight((Weight::from_parts(3_176_000, 0)
416+
#[pallet::weight((Weight::from_parts(3_857_000, 0)
417417
.saturating_add(T::DbWeight::get().reads(0_u64))
418418
.saturating_add(T::DbWeight::get().writes(0_u64)), DispatchClass::Normal, Pays::No))]
419419
pub fn set_tao_weights(
@@ -906,7 +906,7 @@ mod dispatches {
906906

907907
/// Register the hotkey to root network
908908
#[pallet::call_index(62)]
909-
#[pallet::weight((Weight::from_parts(111_700_000, 0)
909+
#[pallet::weight((Weight::from_parts(315_100_000, 0)
910910
.saturating_add(T::DbWeight::get().reads(23))
911911
.saturating_add(T::DbWeight::get().writes(20)), DispatchClass::Normal, Pays::No))]
912912
pub fn root_register(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
@@ -1193,7 +1193,7 @@ mod dispatches {
11931193

11941194
/// User register a new subnetwork
11951195
#[pallet::call_index(59)]
1196-
#[pallet::weight((Weight::from_parts(235_400_000, 0)
1196+
#[pallet::weight((Weight::from_parts(490_400_000, 0)
11971197
.saturating_add(T::DbWeight::get().reads(36))
11981198
.saturating_add(T::DbWeight::get().writes(52)), DispatchClass::Normal, Pays::No))]
11991199
pub fn register_network(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {

0 commit comments

Comments
 (0)