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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 9.1.3 /2025-03-12

## What's Changed
* Allows childkey take of 0 by @thewhaleking in https://github.com/opentensor/btcli/pull/376
* Passes prompt for pow_register by @thewhaleking in https://github.com/opentensor/btcli/pull/379
* Updates staking test by @ibraheem-opentensor in https://github.com/opentensor/btcli/pull/382

**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.1.2...v9.1.3

## 9.1.2 /2025-03-07

## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion bittensor_cli/src/commands/stake/children_hotkeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async def set_childkey_take_extrinsic(
f":satellite: Setting childkey take on [white]{subtensor.network}[/white] ..."
):
try:
if 0 < take <= 0.18:
if 0 <= take <= 0.18:
take_u16 = float_to_u16(take)
else:
return False, "Invalid take value"
Expand Down
3 changes: 2 additions & 1 deletion bittensor_cli/src/commands/subnets/subnets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1417,14 +1417,15 @@ async def pow_register(
use_cuda,
dev_id,
threads_per_block,
prompt: bool
):
"""Register neuron."""

await register_extrinsic(
subtensor,
wallet=wallet,
netuid=netuid,
prompt=True,
prompt=prompt,
tpb=threads_per_block,
update_interval=update_interval,
num_processes=processors,
Expand Down
3 changes: 2 additions & 1 deletion bittensor_cli/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ def version_as_int(version):
__new_signature_version__ = 360
return __version_as_int__

__version__ = "9.1.2"

__version__ = "9.1.3"
__version_as_int__ = version_as_int(__version__)
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.1.2"
version = "9.1.3"
description = "Bittensor CLI"
readme = "README.md"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e_tests/test_staking_sudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_staking(local_chain, wallet_setup):
re.sub(r"\s+", " ", line) for line in show_stake.stdout.splitlines()
]
stake_added = cleaned_stake[8].split("│")[3].strip().split()[0]
assert Balance.from_tao(float(stake_added)) >= Balance.from_tao(100)
assert Balance.from_tao(float(stake_added)) >= Balance.from_tao(90)

# Execute remove_stake command and remove all 100 TAO from Alice
remove_stake = exec_command_alice(
Expand Down
Loading