Skip to content

bittensor-cli==9.0.2 (btcli) - unable to move all stake from my hotkey to another (different coldkeys - delegated) #354

@Tegridy-X

Description

@Tegridy-X

Describe the bug

Unable to move "all" stake from my own hotkey to another (delegated) hotkey.

This seems to be related to move_stake "all" which appears to be having a rounding issue (1 Rao too high).

This causes the following error output:

{'jsonrpc': '2.0', 'id': 'FL24', 'error': {'code': 1010, 'message': 'Invalid Transaction', 'data': 'Custom error: 5'}}

To Reproduce

  1. Install bittensor-cli==9.0.2
  2. Stake N-Alpha: btcli st add
  3. Move ALL Alpha: btcli st move

In the self-service wizard select "all" for the amount:

Such as:
Enter the amount to move ψ (max: ‎1,170.3372 ψ‎) or 'all' for entire balance: all

Expected:
Successful move

Result:
{'jsonrpc': '2.0', 'id': 'FL24', 'error': {'code': 1010, 'message': 'Invalid Transaction', 'data': 'Custom error: 5'}}

Expected behavior

Expected:
Successful move

Result:
{'jsonrpc': '2.0', 'id': 'FL24', 'error': {'code': 1010, 'message': 'Invalid Transaction', 'data': 'Custom error: 5'}}

Screenshots

No response

Environment

Debian 12 // bittensor-cli==9.0.2

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions