Skip to content

Commit d9022c0

Browse files
committed
Fix weights for sudo_set_tx_childkey_take_rate_limit and set_identity
1 parent 84cd7c8 commit d9022c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ mod dispatches {
10451045
///
10461046
#[pallet::call_index(69)]
10471047
#[pallet::weight((
1048-
Weight::from_parts(6_873_000, 0)
1048+
Weight::from_parts(5_760_000, 0)
10491049
.saturating_add(T::DbWeight::get().reads(0))
10501050
.saturating_add(T::DbWeight::get().writes(1)),
10511051
DispatchClass::Operational,
@@ -1465,7 +1465,7 @@ mod dispatches {
14651465
/// - The ip type v4 or v6.
14661466
///
14671467
#[pallet::call_index(68)]
1468-
#[pallet::weight((Weight::from_parts(32_340_000, 0)
1468+
#[pallet::weight((Weight::from_parts(38_980_000, 0)
14691469
.saturating_add(T::DbWeight::get().reads(3))
14701470
.saturating_add(T::DbWeight::get().writes(1)), DispatchClass::Normal, Pays::Yes))]
14711471
pub fn set_identity(

0 commit comments

Comments
 (0)