Skip to content

Commit f567348

Browse files
auto-update benchmark weights
1 parent a2abbaf commit f567348

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
@@ -623,7 +623,7 @@ mod dispatches {
623623
/// - Attempting to set prometheus information withing the rate limit min.
624624
///
625625
#[pallet::call_index(40)]
626-
#[pallet::weight((Weight::from_parts(41_240_000, 0)
626+
#[pallet::weight((Weight::from_parts(32_530_000, 0)
627627
.saturating_add(T::DbWeight::get().reads(4))
628628
.saturating_add(T::DbWeight::get().writes(1)), DispatchClass::Normal, Pays::No))]
629629
pub fn serve_axon_tls(
@@ -1041,7 +1041,7 @@ mod dispatches {
10411041
#[pallet::call_index(59)]
10421042
#[pallet::weight((Weight::from_parts(235_400_000, 0)
10431043
.saturating_add(T::DbWeight::get().reads(36))
1044-
.saturating_add(T::DbWeight::get().writes(52)), DispatchClass::Normal, Pays::Yes))]
1044+
.saturating_add(T::DbWeight::get().writes(51_u64)), DispatchClass::Normal, Pays::Yes))]
10451045
pub fn register_network(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
10461046
Self::do_register_network(origin, &hotkey, 1, None)
10471047
}
@@ -1253,7 +1253,7 @@ mod dispatches {
12531253
/// - The ip type v4 or v6.
12541254
///
12551255
#[pallet::call_index(68)]
1256-
#[pallet::weight((Weight::from_parts(30_550_000, 0)
1256+
#[pallet::weight((Weight::from_parts(38_230_000, 0)
12571257
.saturating_add(T::DbWeight::get().reads(3))
12581258
.saturating_add(T::DbWeight::get().writes(1)), DispatchClass::Normal, Pays::Yes))]
12591259
pub fn set_identity(
@@ -1295,7 +1295,7 @@ mod dispatches {
12951295
/// * `subnet_contact` (Vec<u8>):
12961296
/// - The contact information for the subnet.
12971297
#[pallet::call_index(78)]
1298-
#[pallet::weight((Weight::from_parts(18_980_000, 0)
1298+
#[pallet::weight((Weight::from_parts(24_350_000, 0)
12991299
.saturating_add(T::DbWeight::get().reads(1))
13001300
.saturating_add(T::DbWeight::get().writes(1)), DispatchClass::Normal, Pays::Yes))]
13011301
pub fn set_subnet_identity(
@@ -1328,7 +1328,7 @@ mod dispatches {
13281328
#[pallet::call_index(79)]
13291329
#[pallet::weight((Weight::from_parts(234_200_000, 0)
13301330
.saturating_add(T::DbWeight::get().reads(35))
1331-
.saturating_add(T::DbWeight::get().writes(51)), DispatchClass::Normal, Pays::Yes))]
1331+
.saturating_add(T::DbWeight::get().writes(50_u64)), DispatchClass::Normal, Pays::Yes))]
13321332
pub fn register_network_with_identity(
13331333
origin: OriginFor<T>,
13341334
hotkey: T::AccountId,
@@ -1989,7 +1989,7 @@ mod dispatches {
19891989
/// * commit_reveal_version (`u16`):
19901990
/// - The client (bittensor-drand) version
19911991
#[pallet::call_index(113)]
1992-
#[pallet::weight((Weight::from_parts(80_690_000, 0)
1992+
#[pallet::weight((Weight::from_parts(63_160_000, 0)
19931993
.saturating_add(T::DbWeight::get().reads(7_u64))
19941994
.saturating_add(T::DbWeight::get().writes(2)), DispatchClass::Normal, Pays::No))]
19951995
pub fn commit_timelocked_weights(

0 commit comments

Comments
 (0)