Skip to content

Commit 4a1ba93

Browse files
auto-update benchmark weights
1 parent 318fb58 commit 4a1ba93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ mod dispatches {
8080
/// - Attempting to set weights with max value exceeding limit.
8181
#[pallet::call_index(0)]
8282
#[pallet::weight((Weight::from_parts(15_540_000_000, 0)
83-
.saturating_add(T::DbWeight::get().reads(4112_u64))
83+
.saturating_add(T::DbWeight::get().reads(4111_u64))
8484
.saturating_add(T::DbWeight::get().writes(2)), DispatchClass::Normal, Pays::No))]
8585
pub fn set_weights(
8686
origin: OriginFor<T>,
@@ -1227,7 +1227,7 @@ mod dispatches {
12271227
#[pallet::call_index(59)]
12281228
#[pallet::weight((Weight::from_parts(235_400_000, 0)
12291229
.saturating_add(T::DbWeight::get().reads(39_u64))
1230-
.saturating_add(T::DbWeight::get().writes(57_u64)), DispatchClass::Normal, Pays::Yes))]
1230+
.saturating_add(T::DbWeight::get().writes(56_u64)), DispatchClass::Normal, Pays::Yes))]
12311231
pub fn register_network(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
12321232
Self::do_register_network(origin, &hotkey, 1, None)
12331233
}
@@ -1514,7 +1514,7 @@ mod dispatches {
15141514
#[pallet::call_index(79)]
15151515
#[pallet::weight((Weight::from_parts(234_200_000, 0)
15161516
.saturating_add(T::DbWeight::get().reads(38_u64))
1517-
.saturating_add(T::DbWeight::get().writes(56_u64)), DispatchClass::Normal, Pays::Yes))]
1517+
.saturating_add(T::DbWeight::get().writes(55_u64)), DispatchClass::Normal, Pays::Yes))]
15181518
pub fn register_network_with_identity(
15191519
origin: OriginFor<T>,
15201520
hotkey: T::AccountId,

0 commit comments

Comments
 (0)