File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1060,7 +1060,7 @@ mod dispatches {
10601060 /// The extrinsic for user to change its hotkey in subnet or all subnets.
10611061 #[ pallet:: call_index( 70 ) ]
10621062 #[ pallet:: weight( ( Weight :: from_parts( 275_300_000 , 0 )
1063- . saturating_add( T :: DbWeight :: get( ) . reads( 49_u64 ) )
1063+ . saturating_add( T :: DbWeight :: get( ) . reads( 53_u64 ) )
10641064 . saturating_add( T :: DbWeight :: get( ) . writes( 37 ) ) , DispatchClass :: Normal , Pays :: No ) ) ]
10651065 pub fn swap_hotkey (
10661066 origin : OriginFor < T > ,
@@ -1134,7 +1134,7 @@ mod dispatches {
11341134 ///
11351135 #[ pallet:: call_index( 75 ) ]
11361136 #[ pallet:: weight( (
1137- Weight :: from_parts( 45_360_000 , 0 )
1137+ Weight :: from_parts( 66_450_000 , 0 )
11381138 . saturating_add( T :: DbWeight :: get( ) . reads( 5 ) )
11391139 . saturating_add( T :: DbWeight :: get( ) . writes( 2 ) ) ,
11401140 DispatchClass :: Normal ,
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ pub mod pallet {
456456 } else {
457457 Self :: deposit_event ( Event :: BatchCompleted ) ;
458458 }
459- let base_weight = T :: WeightInfo :: batch ( calls_len as u32 ) ;
459+ let base_weight = T :: WeightInfo :: force_batch ( calls_len as u32 ) ;
460460 Ok ( Some ( base_weight. saturating_add ( weight) ) . into ( ) )
461461 }
462462
You can’t perform that action at this time.
0 commit comments