File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
pallets/subtensor/src/macros Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -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( 19_330_000 , 0 )
124
- . saturating_add( T :: DbWeight :: get( ) . reads( 1_u64 ) )
125
- . saturating_add( T :: DbWeight :: get( ) . writes( 0_u64 ) ) , DispatchClass :: Normal , Pays :: No ) ) ]
123
+ #[ pallet:: weight( ( Weight :: from_parts( 95_310_000 , 0 )
124
+ . saturating_add( T :: DbWeight :: get( ) . reads( 14_u64 ) )
125
+ . saturating_add( T :: DbWeight :: get( ) . writes( 2_u64 ) ) , DispatchClass :: Normal , Pays :: No ) ) ]
126
126
pub fn batch_set_weights (
127
127
origin : OriginFor < T > ,
128
128
netuids : Vec < Compact < NetUid > > ,
@@ -966,7 +966,7 @@ mod dispatches {
966
966
/// Weight is calculated based on the number of database reads and writes.
967
967
#[ pallet:: call_index( 71 ) ]
968
968
#[ pallet:: weight( ( Weight :: from_parts( 161_700_000 , 0 )
969
- . saturating_add( T :: DbWeight :: get( ) . reads( 14 ) )
969
+ . saturating_add( T :: DbWeight :: get( ) . reads( 15_u64 ) )
970
970
. saturating_add( T :: DbWeight :: get( ) . writes( 9 ) ) , DispatchClass :: Operational , Pays :: No ) ) ]
971
971
pub fn swap_coldkey (
972
972
origin : OriginFor < T > ,
You can’t perform that action at this time.
0 commit comments