Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btcli stake remove --wallet.name $name --wallet.all_hotkeys does not work if you have at least one hotkey with less than 0.1T in it. #1941

Open
zhedgehog opened this issue May 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zhedgehog
Copy link

zhedgehog commented May 25, 2024

Describe the bug

Stake removal for all hotkeys does not work if you have at least one hotkey with less than 0.1T in it

bittensor cli v6.12.2

To Reproduce

  1. Create 5 hotkeys
  2. Stake 0.1 in 2 hotkeys
  3. Stake 0.001 in 3 hotkeys
  4. Remove stakes by running:
    btcli stake remove --subtensor.network finney --wallet.name $name --wallet.all_hotkeys

Expected behavior

Expected:
Successful execution with keys not having at least 0.1T ignored, but reported as skipped

Actual behaviour:
btcli reports an error for not having at least 0.1T in the hotkey

Screenshots

No response

Environment

Debian 12, Bittensor 6.12.2

Additional context

No response

@zhedgehog zhedgehog added the bug Something isn't working label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant