File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,30 @@ def test_staking(local_chain, wallet_setup):
227227 assert get_identity_output ["description" ] == sn_description
228228 assert get_identity_output ["additional" ] == sn_add_info
229229
230+ # Start emissions on SNs
231+ for netuid_ in multiple_netuids :
232+ start_subnet_emissions = exec_command_alice (
233+ command = "subnets" ,
234+ sub_command = "start" ,
235+ extra_args = [
236+ "--netuid" ,
237+ netuid_ ,
238+ "--wallet-path" ,
239+ wallet_path_alice ,
240+ "--wallet-name" ,
241+ wallet_alice .name ,
242+ "--hotkey" ,
243+ wallet_alice .hotkey_str ,
244+ "--network" ,
245+ "ws://127.0.0.1:9945" ,
246+ "--no-prompt" ,
247+ ],
248+ )
249+ assert (
250+ f"Successfully started subnet { netuid_ } 's emission schedule"
251+ in start_subnet_emissions .stdout
252+ ), start_subnet_emissions .stderr
253+
230254 # Add stake to Alice's hotkey
231255 add_stake_single = exec_command_alice (
232256 command = "stake" ,
You can’t perform that action at this time.
0 commit comments