@@ -120,9 +120,9 @@ mod dispatches {
120
120
/// - On failure for each failed item in the batch.
121
121
///
122
122
#[ 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 ) ) ]
126
126
pub fn batch_set_weights (
127
127
origin : OriginFor < T > ,
128
128
netuids : Vec < Compact < NetUid > > ,
@@ -413,7 +413,7 @@ mod dispatches {
413
413
/// - Attempting to set weights with max value exceeding limit.
414
414
///
415
415
#[ pallet:: call_index( 8 ) ]
416
- #[ pallet:: weight( ( Weight :: from_parts( 3_176_000 , 0 )
416
+ #[ pallet:: weight( ( Weight :: from_parts( 3_857_000 , 0 )
417
417
. saturating_add( T :: DbWeight :: get( ) . reads( 0_u64 ) )
418
418
. saturating_add( T :: DbWeight :: get( ) . writes( 0_u64 ) ) , DispatchClass :: Normal , Pays :: No ) ) ]
419
419
pub fn set_tao_weights (
@@ -906,7 +906,7 @@ mod dispatches {
906
906
907
907
/// Register the hotkey to root network
908
908
#[ pallet:: call_index( 62 ) ]
909
- #[ pallet:: weight( ( Weight :: from_parts( 111_700_000 , 0 )
909
+ #[ pallet:: weight( ( Weight :: from_parts( 315_100_000 , 0 )
910
910
. saturating_add( T :: DbWeight :: get( ) . reads( 23 ) )
911
911
. saturating_add( T :: DbWeight :: get( ) . writes( 20 ) ) , DispatchClass :: Normal , Pays :: No ) ) ]
912
912
pub fn root_register ( origin : OriginFor < T > , hotkey : T :: AccountId ) -> DispatchResult {
@@ -1193,7 +1193,7 @@ mod dispatches {
1193
1193
1194
1194
/// User register a new subnetwork
1195
1195
#[ pallet:: call_index( 59 ) ]
1196
- #[ pallet:: weight( ( Weight :: from_parts( 235_400_000 , 0 )
1196
+ #[ pallet:: weight( ( Weight :: from_parts( 490_400_000 , 0 )
1197
1197
. saturating_add( T :: DbWeight :: get( ) . reads( 36 ) )
1198
1198
. saturating_add( T :: DbWeight :: get( ) . writes( 52 ) ) , DispatchClass :: Normal , Pays :: No ) ) ]
1199
1199
pub fn register_network ( origin : OriginFor < T > , hotkey : T :: AccountId ) -> DispatchResult {
0 commit comments