diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b5e82c36..b6ba95055 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 9.8.2/2025-07-09 +* Ensure that the fees are shown in alpha, not Tao. by @thewhaleking in https://github.com/opentensor/btcli/pull/530 +* remove unused subnet names mapping by @thewhaleking in https://github.com/opentensor/btcli/pull/531 + + +**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.8.1...v9.8.2 + ## 9.8.1/2025-07-08 ## What's Changed diff --git a/bittensor_cli/src/__init__.py b/bittensor_cli/src/__init__.py index d7b1a9f70..d9d81eb29 100644 --- a/bittensor_cli/src/__init__.py +++ b/bittensor_cli/src/__init__.py @@ -814,67 +814,3 @@ class Sudo(Gettable): COLOR_PALETTE = ColorPalette() COLORS = COLOR_PALETTE - - -SUBNETS = { - 0: "root", - 1: "apex", - 2: "omron", - 3: "templar", - 4: "targon", - 5: "kaito", - 6: "infinite", - 7: "subvortex", - 8: "ptn", - 9: "pretrain", - 10: "sturday", - 11: "dippy", - 12: "horde", - 13: "dataverse", - 14: "palaidn", - 15: "deval", - 16: "bitads", - 17: "3gen", - 18: "cortex", - 19: "inference", - 20: "bitagent", - 21: "any-any", - 22: "meta", - 23: "social", - 24: "omega", - 25: "protein", - 26: "alchemy", - 27: "compute", - 28: "oracle", - 29: "coldint", - 30: "bet", - 31: "naschain", - 32: "itsai", - 33: "ready", - 34: "mind", - 35: "logic", - 36: "automata", - 37: "tuning", - 38: "distributed", - 39: "edge", - 40: "chunk", - 41: "sportsensor", - 42: "masa", - 43: "graphite", - 44: "score", - 45: "gen42", - 46: "neural", - 47: "condense", - 48: "nextplace", - 49: "automl", - 50: "audio", - 51: "celium", - 52: "dojo", - 53: "frontier", - 54: "docs-insight", - 56: "gradients", - 57: "gaia", - 58: "dippy-speech", - 59: "agent-arena", - 61: "red-team", -} diff --git a/bittensor_cli/src/commands/stake/move.py b/bittensor_cli/src/commands/stake/move.py index 482dc70b5..578c9f0a0 100644 --- a/bittensor_cli/src/commands/stake/move.py +++ b/bittensor_cli/src/commands/stake/move.py @@ -124,7 +124,7 @@ async def display_stake_movement_cross_subnets( style=COLOR_PALETTE["POOLS"]["TAO_EQUIV"], ) table.add_column( - "Fee (τ)", + f"Fee ({Balance.get_unit(origin_netuid)})", justify="center", style=COLOR_PALETTE["STAKE"]["STAKE_AMOUNT"], ) @@ -137,7 +137,7 @@ async def display_stake_movement_cross_subnets( str(amount_to_move), price_str, str(received_amount), - str(stake_fee), + str(stake_fee.set_unit(origin_netuid)), ) console.print(table) diff --git a/bittensor_cli/src/commands/stake/remove.py b/bittensor_cli/src/commands/stake/remove.py index 617b8581b..5dbef5fe9 100644 --- a/bittensor_cli/src/commands/stake/remove.py +++ b/bittensor_cli/src/commands/stake/remove.py @@ -234,7 +234,7 @@ async def unstake( str(amount_to_unstake_as_balance), # Amount to Unstake f"{subnet_info.price.tao:.6f}" + f"({Balance.get_unit(0)}/{Balance.get_unit(netuid)})", # Rate - str(stake_fee), # Fee + str(stake_fee.set_unit(netuid)), # Fee str(received_amount), # Received Amount # slippage_pct, # Slippage Percent ] @@ -1189,7 +1189,7 @@ def _create_unstake_table( style=COLOR_PALETTE["POOLS"]["RATE"], ) table.add_column( - f"Fee ({Balance.get_unit(0)})", + f"Fee ({Balance.get_unit(1)})", justify="center", style=COLOR_PALETTE["STAKE"]["STAKE_AMOUNT"], ) diff --git a/pyproject.toml b/pyproject.toml index 439448ce5..d98e12829 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "bittensor-cli" -version = "9.8.1" +version = "9.8.2" description = "Bittensor CLI" readme = "README.md" authors = [