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

Transferable balance includes reserved balance allowing users to spend their reserved balance #10987

Open
the-nodelab opened this issue Oct 8, 2024 · 1 comment

Comments

@the-nodelab
Copy link

I'm submitting a Bug report

The transferable balance shown includes the reserved balance (which should be locked and non-transferable), allowing a user to sign transactions that put their transferable balance below the reserved balance, stopping them from signing any future transactions (until they bring the transferrable balance back above the reserved balance).

Instead, change the transferable balance to exclude the reserved balance.

This will stop users from accidentally transferring coins that put their transferable balance below the reserved balance and locking them out of signing transactions (as there is no balance for fees)

api v13.2.1
apps v0.144.2-11

Running on Brave Browser (shields off)

@TarikGul
Copy link
Member

The formula and changes on the api level were reflected in this PR: polkadot-js/api#5957 which does take into account the reserved, so it might be an issue on the UI side. But I will double check these values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants