polkadot-js / apps

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.
https://dotapps.io
Apache License 2.0
1.76k stars 1.55k forks source link

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

Closed the-nodelab closed 2 weeks ago

the-nodelab commented 1 month ago

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 commented 1 month ago

The formula and changes on the api level were reflected in this PR: https://github.com/polkadot-js/api/pull/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.

TarikGul commented 1 month ago

The transferable balance does not show the reserve as seen below:

Screenshot 2024-10-30 at 5 34 59 PM

Same with the UI for sending a transfer.

polkadot-js-bot commented 1 week ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.