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
- Install bittensor-cli==9.0.2
- Stake N-Alpha: btcli st add
- 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