Skip to content

Commit 334faed

Browse files
authored
Merge pull request #534 from opentensor/release/9.8.2
Release/9.8.2
2 parents 8a92e50 + 312a25c commit 334faed

File tree

5 files changed

+12
-69
lines changed

5 files changed

+12
-69
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 9.8.2/2025-07-09
4+
* Ensure that the fees are shown in alpha, not Tao. by @thewhaleking in https://github.com/opentensor/btcli/pull/530
5+
* remove unused subnet names mapping by @thewhaleking in https://github.com/opentensor/btcli/pull/531
6+
7+
8+
**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.8.1...v9.8.2
9+
310
## 9.8.1/2025-07-08
411

512
## What's Changed

bittensor_cli/src/__init__.py

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -814,67 +814,3 @@ class Sudo(Gettable):
814814

815815
COLOR_PALETTE = ColorPalette()
816816
COLORS = COLOR_PALETTE
817-
818-
819-
SUBNETS = {
820-
0: "root",
821-
1: "apex",
822-
2: "omron",
823-
3: "templar",
824-
4: "targon",
825-
5: "kaito",
826-
6: "infinite",
827-
7: "subvortex",
828-
8: "ptn",
829-
9: "pretrain",
830-
10: "sturday",
831-
11: "dippy",
832-
12: "horde",
833-
13: "dataverse",
834-
14: "palaidn",
835-
15: "deval",
836-
16: "bitads",
837-
17: "3gen",
838-
18: "cortex",
839-
19: "inference",
840-
20: "bitagent",
841-
21: "any-any",
842-
22: "meta",
843-
23: "social",
844-
24: "omega",
845-
25: "protein",
846-
26: "alchemy",
847-
27: "compute",
848-
28: "oracle",
849-
29: "coldint",
850-
30: "bet",
851-
31: "naschain",
852-
32: "itsai",
853-
33: "ready",
854-
34: "mind",
855-
35: "logic",
856-
36: "automata",
857-
37: "tuning",
858-
38: "distributed",
859-
39: "edge",
860-
40: "chunk",
861-
41: "sportsensor",
862-
42: "masa",
863-
43: "graphite",
864-
44: "score",
865-
45: "gen42",
866-
46: "neural",
867-
47: "condense",
868-
48: "nextplace",
869-
49: "automl",
870-
50: "audio",
871-
51: "celium",
872-
52: "dojo",
873-
53: "frontier",
874-
54: "docs-insight",
875-
56: "gradients",
876-
57: "gaia",
877-
58: "dippy-speech",
878-
59: "agent-arena",
879-
61: "red-team",
880-
}

bittensor_cli/src/commands/stake/move.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ async def display_stake_movement_cross_subnets(
124124
style=COLOR_PALETTE["POOLS"]["TAO_EQUIV"],
125125
)
126126
table.add_column(
127-
"Fee (τ)",
127+
f"Fee ({Balance.get_unit(origin_netuid)})",
128128
justify="center",
129129
style=COLOR_PALETTE["STAKE"]["STAKE_AMOUNT"],
130130
)
@@ -137,7 +137,7 @@ async def display_stake_movement_cross_subnets(
137137
str(amount_to_move),
138138
price_str,
139139
str(received_amount),
140-
str(stake_fee),
140+
str(stake_fee.set_unit(origin_netuid)),
141141
)
142142

143143
console.print(table)

bittensor_cli/src/commands/stake/remove.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ async def unstake(
234234
str(amount_to_unstake_as_balance), # Amount to Unstake
235235
f"{subnet_info.price.tao:.6f}"
236236
+ f"({Balance.get_unit(0)}/{Balance.get_unit(netuid)})", # Rate
237-
str(stake_fee), # Fee
237+
str(stake_fee.set_unit(netuid)), # Fee
238238
str(received_amount), # Received Amount
239239
# slippage_pct, # Slippage Percent
240240
]
@@ -1189,7 +1189,7 @@ def _create_unstake_table(
11891189
style=COLOR_PALETTE["POOLS"]["RATE"],
11901190
)
11911191
table.add_column(
1192-
f"Fee ({Balance.get_unit(0)})",
1192+
f"Fee ({Balance.get_unit(1)})",
11931193
justify="center",
11941194
style=COLOR_PALETTE["STAKE"]["STAKE_AMOUNT"],
11951195
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "bittensor-cli"
7-
version = "9.8.1"
7+
version = "9.8.2"
88
description = "Bittensor CLI"
99
readme = "README.md"
1010
authors = [

0 commit comments

Comments
 (0)