File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 10
10
* btcli subnets create
11
11
* btcli subnets set-identity
12
12
* btcli subnets get-identity
13
+ * btcli subnets set-symbol
13
14
* btcli subnets register
14
15
* btcli subnets price
15
16
* btcli stake add
@@ -235,6 +236,33 @@ def test_staking(local_chain, wallet_setup):
235
236
assert get_identity_output ["logo_url" ] == sn_logo_url
236
237
assert get_identity_output ["additional" ] == sn_add_info
237
238
239
+ # set symbol
240
+ set_symbol = exec_command_alice (
241
+ "subnets" ,
242
+ "set-symbol" ,
243
+ extra_args = [
244
+ "--wallet-path" ,
245
+ wallet_path_alice ,
246
+ "--wallet-name" ,
247
+ wallet_alice .name ,
248
+ "--hotkey" ,
249
+ wallet_alice .hotkey_str ,
250
+ "--chain" ,
251
+ "ws://127.0.0.1:9945" ,
252
+ "--netuid" ,
253
+ netuid ,
254
+ "--json-output" ,
255
+ "--no-prompt" ,
256
+ "‡" ,
257
+ ],
258
+ )
259
+ set_symbol_output = json .loads (set_symbol .stdout )
260
+ assert set_symbol_output ["success" ] is True
261
+ assert (
262
+ set_symbol_output ["message" ]
263
+ == f"Successfully updated SN{ netuid } 's symbol to ‡."
264
+ )
265
+
238
266
get_s_price = exec_command_alice (
239
267
"subnets" ,
240
268
"price" ,
You can’t perform that action at this time.
0 commit comments