-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 is incorrect #9988
Comments
Today, I encountered a critical issue while attempting to submit a proposal. After creating a pre-image, I noticed that my transferrable balance was showing as 0 DOT. In an attempt to rectify this, I initiated a transaction of 20 DOT from another wallet to my identified wallet. However, even after completing the transaction, my transferrable balance remains unchanged. Subscan indicates that the transaction was successfully processed, as seen here. This issue is particularly urgent as I urgently need to submit two proposals on Polkassembly and create and sign child bounties within the next 10 days. Unfortunately, my account is currently frozen, preventing me from proceeding with these crucial tasks. Thanks! |
Hi @Albertpolkadot I fail to understand, why is the fact that the transferable balance is not showed correctly in the UI preventing you from submitting your transactions as usual? Also, Subscan reports that the transferable balance is 0 DOT for this account too: |
Hi @IkerAlus, Yes, this is the problem, I sent 20 Dots to my wallet, but I can't see these 20 DOTS that they should be free... |
@Albertpolkadot Hey I am looking into this now. Can you post a picture of the UI where it says your transferable balance is zero. I am currently trying to trace down the root of this and that would help a lot. |
The transferrable balance is derived here: https://github.com/polkadot-js/api/blob/master/packages/api-derive/src/balances/all.ts#L59 |
@Albertpolkadot To add to what @IkerAlus is saying as well, even if the displayed transferable is incorrect in the UI, that shouldn't stop you from sending an extrinsic through the extrinsic page since the on chain data is still correct. |
@TarikGul @Albertpolkadot @IkerAlus The So, although according to the A list of all pallets that need migration is here, but I don't know how updated the tracking is. What you Albert can do, if you want to transfer those funds out, is deposit enough DOT to bring the free balance above zero based on the previous calculation, and then you'll be able to transfer all transferable balance with a |
This has been fixed in the API level and will be fixed in apps this week. |
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. |
Transferable balance seems to be calculated incorrectly. After the merging of this PR,
reducible
is calculated as indicated here.It seems transferable is calculated with the deprecated:
transferable = free - reserved - max(feeFrozen, miscFrozen)
Display transferable balance properly.
Perhaps
free
balance should also be displayed because it can be used for holds (aka reserves) even if transferable is insufficient.Version: apps v0.132.2-134
Environment:
Language:
The text was updated successfully, but these errors were encountered: