File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,10 @@ mod benchmarks {
135135
136136 #[ benchmark]
137137 fn sudo_set_kappa ( ) {
138- pallet_subtensor:: Pallet :: < T > :: init_new_network ( 1u16 /*netuid*/ , 1u16 /*sudo_tempo*/ ) ;
138+ pallet_subtensor:: Pallet :: < T > :: init_new_network (
139+ 1u16 , /*netuid*/
140+ 1u16 , /*sudo_tempo*/
141+ ) ;
139142
140143 #[ extrinsic_call]
141144 _ ( RawOrigin :: Root , 1u16 /*netuid*/ , 3u16 /*kappa*/ ) /*set_kappa*/ ;
@@ -226,15 +229,21 @@ mod benchmarks {
226229
227230 #[ benchmark]
228231 fn sudo_set_commit_reveal_weights_interval ( ) {
229- pallet_subtensor:: Pallet :: < T > :: init_new_network ( 1u16 /*netuid*/ , 1u16 /*sudo_tempo*/ ) ;
232+ pallet_subtensor:: Pallet :: < T > :: init_new_network (
233+ 1u16 , /*netuid*/
234+ 1u16 , /*sudo_tempo*/
235+ ) ;
230236
231237 #[ extrinsic_call]
232238 _ ( RawOrigin :: Root , 1u16 /*netuid*/ , 3u64 /*interval*/ ) /*set_commit_reveal_weights_interval()*/ ;
233239 }
234240
235241 #[ benchmark]
236242 fn sudo_set_commit_reveal_weights_enabled ( ) {
237- pallet_subtensor:: Pallet :: < T > :: init_new_network ( 1u16 /*netuid*/ , 1u16 /*sudo_tempo*/ ) ;
243+ pallet_subtensor:: Pallet :: < T > :: init_new_network (
244+ 1u16 , /*netuid*/
245+ 1u16 , /*sudo_tempo*/
246+ ) ;
238247
239248 #[ extrinsic_call]
240249 _ ( RawOrigin :: Root , 1u16 /*netuid*/ , true /*enabled*/ ) /*set_commit_reveal_weights_enabled*/ ;
You can’t perform that action at this time.
0 commit comments