From bb0c91dac4b3c16e4d29997d621916a108a10518 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Wed, 16 Jul 2025 15:35:52 +0200 Subject: [PATCH 1/4] Updates `user_liquidity_enabled` to not root sudo only. --- bittensor_cli/src/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bittensor_cli/src/__init__.py b/bittensor_cli/src/__init__.py index d9d81eb29..6c178a818 100644 --- a/bittensor_cli/src/__init__.py +++ b/bittensor_cli/src/__init__.py @@ -660,7 +660,7 @@ class WalletValidationTypes(Enum): ), "yuma3_enabled": ("sudo_set_yuma3_enabled", False), "alpha_sigmoid_steepness": ("sudo_set_alpha_sigmoid_steepness", True), - "user_liquidity_enabled": ("toggle_user_liquidity", True), + "user_liquidity_enabled": ("toggle_user_liquidity", False), } HYPERPARAMS_MODULE = { From 2972b8f48222dcccb44178ab010380e09cab1286 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Wed, 16 Jul 2025 18:21:17 +0200 Subject: [PATCH 2/4] Patches broken Brahmi characters with normal characters. --- bittensor_cli/src/commands/subnets/subnets.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bittensor_cli/src/commands/subnets/subnets.py b/bittensor_cli/src/commands/subnets/subnets.py index e94402953..2af10612d 100644 --- a/bittensor_cli/src/commands/subnets/subnets.py +++ b/bittensor_cli/src/commands/subnets/subnets.py @@ -323,6 +323,18 @@ def _create_table(subnets_, block_number_): for subnet in subnets_: netuid = subnet.netuid + # The symbols for 123 and 124 are visually identical: + # 123: 𑀀 + # 124: 𑀁 + # and the symbol for 125 is basically a colon + # 125: 𑀂 + # however, because they're in Brahmi, which very few fonts support, they don't render properly + # This patches them. + if netuid == 125: + subnet.symbol = ":" + elif netuid in (124, 123): + subnet.symbol = "˙" + symbol = f"{subnet.symbol}\u200e" if netuid == 0: From f51e5135a35f6640a95a51ebdac4664f2bc566dc Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Wed, 16 Jul 2025 18:33:01 +0200 Subject: [PATCH 3/4] Use subnet.symbol rather than netuid --- bittensor_cli/src/commands/subnets/subnets.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bittensor_cli/src/commands/subnets/subnets.py b/bittensor_cli/src/commands/subnets/subnets.py index 2af10612d..62a20b63b 100644 --- a/bittensor_cli/src/commands/subnets/subnets.py +++ b/bittensor_cli/src/commands/subnets/subnets.py @@ -323,17 +323,16 @@ def _create_table(subnets_, block_number_): for subnet in subnets_: netuid = subnet.netuid - # The symbols for 123 and 124 are visually identical: + # The default symbols for 123 and 124 are visually identical: # 123: 𑀀 # 124: 𑀁 # and the symbol for 125 is basically a colon # 125: 𑀂 # however, because they're in Brahmi, which very few fonts support, they don't render properly # This patches them. - if netuid == 125: - subnet.symbol = ":" - elif netuid in (124, 123): - subnet.symbol = "˙" + replacements = {69632: "˙", 69633: "˙", 69634: ":"} + if (sso := ord(subnet.symbol)) in replacements.keys(): + subnet.symbol = replacements[sso] symbol = f"{subnet.symbol}\u200e" From dc84ec0f5be87f4d75282e237212ae2e1611c862 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Wed, 16 Jul 2025 19:53:32 +0200 Subject: [PATCH 4/4] Bump changelog+version --- CHANGELOG.md | 6 ++++++ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a64bd1608..864526241 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 9.8.5 /2025-07-16 +* Updates `user_liquidity_enabled` to not root sudo only. by @thewhaleking in https://github.com/opentensor/btcli/pull/546 +* Patches broken Brahmi characters with normal characters. by @thewhaleking in https://github.com/opentensor/btcli/pull/547 + +**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.8.4...v9.8.5 + ## 9.8.4 /2025-07-10 ## What's Changed diff --git a/pyproject.toml b/pyproject.toml index 4e4363456..432b85b81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "bittensor-cli" -version = "9.8.4" +version = "9.8.5" description = "Bittensor CLI" readme = "README.md" authors = [