Skip to content

Commit b796bb6

Browse files
auto-update benchmark weights
1 parent 52b4cef commit b796bb6

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
@@ -302,7 +302,7 @@ mod dispatches {
302302
///
303303
#[pallet::call_index(100)]
304304
#[pallet::weight((Weight::from_parts(100_500_000, 0)
305-
.saturating_add(T::DbWeight::get().reads(8))
305+
.saturating_add(T::DbWeight::get().reads(10_u64))
306306
.saturating_add(T::DbWeight::get().writes(2)), DispatchClass::Normal, Pays::No))]
307307
pub fn batch_commit_weights(
308308
origin: OriginFor<T>,
@@ -932,7 +932,7 @@ mod dispatches {
932932
/// - The ip type v4 or v6.
933933
///
934934
#[pallet::call_index(5)]
935-
#[pallet::weight((Weight::from_parts(42_000_000, 0)
935+
#[pallet::weight((Weight::from_parts(29_760_000, 0)
936936
.saturating_add(T::DbWeight::get().reads(4))
937937
.saturating_add(T::DbWeight::get().writes(1)), DispatchClass::Normal, Pays::No))]
938938
pub fn serve_prometheus(
@@ -1299,8 +1299,8 @@ mod dispatches {
12991299
/// User register a new subnetwork
13001300
#[pallet::call_index(59)]
13011301
#[pallet::weight((Weight::from_parts(235_400_000, 0)
1302-
.saturating_add(T::DbWeight::get().reads(36))
1303-
.saturating_add(T::DbWeight::get().writes(52)), DispatchClass::Normal, Pays::Yes))]
1302+
.saturating_add(T::DbWeight::get().reads(37_u64))
1303+
.saturating_add(T::DbWeight::get().writes(51_u64)), DispatchClass::Normal, Pays::Yes))]
13041304
pub fn register_network(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
13051305
Self::do_register_network(origin, &hotkey, 1, None)
13061306
}
@@ -1586,8 +1586,8 @@ mod dispatches {
15861586
/// User register a new subnetwork
15871587
#[pallet::call_index(79)]
15881588
#[pallet::weight((Weight::from_parts(234_200_000, 0)
1589-
.saturating_add(T::DbWeight::get().reads(35))
1590-
.saturating_add(T::DbWeight::get().writes(51)), DispatchClass::Normal, Pays::Yes))]
1589+
.saturating_add(T::DbWeight::get().reads(36_u64))
1590+
.saturating_add(T::DbWeight::get().writes(50_u64)), DispatchClass::Normal, Pays::Yes))]
15911591
pub fn register_network_with_identity(
15921592
origin: OriginFor<T>,
15931593
hotkey: T::AccountId,

0 commit comments

Comments
 (0)