Skip to content

Commit e13f1a0

Browse files
committed
Debug
1 parent 1ee8160 commit e13f1a0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bittensor_cli/src/commands/subnets/subnets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2485,7 +2485,7 @@ async def set_symbol(
24852485
start_call = await subtensor.substrate.compose_call(
24862486
call_module="SubtensorModule",
24872487
call_function="update_symbol",
2488-
call_params={"netuid": netuid, "symbol": symbol},
2488+
call_params={"netuid": netuid, "symbol": symbol.encode("utf-8")},
24892489
)
24902490

24912491
signed_ext = await subtensor.substrate.create_signed_extrinsic(

tests/e2e_tests/test_staking_sudo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ def test_staking(local_chain, wallet_setup):
257257
],
258258
)
259259
set_symbol_output = json.loads(set_symbol.stdout)
260-
assert set_symbol_output["success"] is True, set_identity_output
260+
assert set_symbol_output["success"] is True
261+
assert set_symbol_output["success"] is True, set_symbol_output
261262
assert (
262263
set_symbol_output["message"]
263264
== f"Successfully updated SN{netuid}'s symbol to ‡."

0 commit comments

Comments
 (0)