Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 9.11.2 /2025-09-19
* Fix: Stake movement between non-root sns by @ibraheem-abe in https://github.com/opentensor/btcli/pull/629

**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.11.1...v9.11.2

## 9.11.1 /2025-09-16

* Transfer not staking warning by @thewhaleking in https://github.com/opentensor/btcli/pull/618
Expand Down
2 changes: 1 addition & 1 deletion bittensor_cli/src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,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", False),
"user_liquidity_enabled": ("toggle_user_liquidity", True),
"bonds_reset_enabled": ("sudo_set_bonds_reset_enabled", False),
"transfers_enabled": ("sudo_set_toggle_transfer", False),
}
Expand Down
6 changes: 3 additions & 3 deletions bittensor_cli/src/bittensor/subtensor_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ async def subnet(
if not result:
raise ValueError(f"Subnet {netuid} not found")
subnet_ = DynamicInfo.from_any(result)
subnet_.price = price
subnet_.price = price if netuid != 0 else Balance.from_tao(1.0)
return subnet_

async def get_owned_hotkeys(
Expand Down Expand Up @@ -1545,13 +1545,13 @@ async def sim_swap(
"sim_swap_tao_for_alpha",
params={
"netuid": destination_netuid,
"tao": intermediate_result.tao_amount,
"tao": intermediate_result.tao_amount.rao,
},
block_hash=block_hash,
),
destination_netuid,
)
secondary_fee = (result.tao_fee * sn_price).set_unit(origin_netuid)
secondary_fee = (result.tao_fee / sn_price.tao).set_unit(origin_netuid)
result.alpha_fee = result.alpha_fee + secondary_fee
return result
elif origin_netuid > 0:
Expand Down
2 changes: 1 addition & 1 deletion bittensor_cli/src/commands/wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def _get_coldkey_ss58_addresses_for_path(path: str) -> tuple[list[str], list[str
coldkey_paths = [
os.path.join(abs_path, wallet, "coldkeypub.txt")
for wallet in wallets
if os.path.exists(os.path.join(abs_path, wallet, "coldkeypub.txt"))
if os.path.isfile(os.path.join(abs_path, wallet, "coldkeypub.txt"))
]
ss58_addresses = [Keyfile(path).keypair.ss58_address for path in coldkey_paths]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "bittensor-cli"
version = "9.11.1"
version = "9.11.2"
description = "Bittensor CLI"
readme = "README.md"
authors = [
Expand Down
Loading