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

last 1000 RAO of a wallet cannot be staked / delegated (should be 500) #1850

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

Comments

@pawelpolewicz
Copy link

Describe the bug

bittensor/bittensor/extrinsics/delegation.py:delegate_extrinsic()
and bittensor/bittensor/extrinsics/staking.py:add_stake_extrinsic()
do not use bittensor/subtensor.py:get_existential_deposit (which on mainnet returns 500 RAO) and use a hardcoded 1000 RAO instead.

To Reproduce

try to stake or delegate everything

Expected behavior

only existentialDeposit should remain in the wallet

Screenshots

No response

Environment

any

Additional context

No response

@pawelpolewicz pawelpolewicz added the bug Something isn't working label May 8, 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