-
Notifications
You must be signed in to change notification settings - Fork 97
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
frame_support::traits::tokens::fungible user's funds may stuck #328
Comments
@stepanLav do I understand it right, the fee payments with new fungibles implementation fixes this? |
@stepanLav basically in the use case you have described a user that have a free balance cannot pay the fee? do you have many reports from users? Please give a bit more on the impact. |
I dived deeper and looks like on the Westend Relaychain it does not reproduce anymore, case itself connected to a problem, when different pallets calculate available part of balance in different ways, some use T::Currency, some - T::Fungibles. As a result, where Fungibles are used, we can pay a fee from accounts with it is still reproduced on the Kusama network, so on the account with that balance: {
nonce: 4
consumers: 2
providers: 1
sufficients: 0
data: {
free: 229,809,526,241
reserved: 668,033,331,300
frozen: 300,000,000,000
flags: 170,141,183,460,469,231,731,687,303,715,884,105,728
}
} I can't do anything, every time I get |
probably exact same issue as described here - paritytech/polkadot-sdk#1833 |
I will try to get it into #316 |
Several users have referred similar problems to the Web3 Foundation support team. Some public examples:
It was my understanding that the issue was fixed with paritytech/polkadot-sdk#2292 in Polkadot-SDK v1.11.0, so it'll be fixed in the runtime whenever Polkadot-SDK v.1.11.0 is adopted, but I might be wrong. |
Yes, but I am trying to get it into the next release as a patch with this PR - #332 |
) Fixes: #328 Transaction payments work via new `fungible` traits implementation --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Two APIs are no longer executable since the timing of this modification to Westend. Has anything changed when creating transactions?
|
which API you mean? TransactionPaymentApi_query_info and payment_queryFeeDetails ? what's the errori? the issue described by @stepanLav should be solved with 1.2.5, which is ready to be upgraded now for Polkadot and System Chains |
@muharem @stepanLav
|
@stepanLav the issue should be fixed now |
@muharem Thank you. You're a big help. |
@muharem Thank you! |
Description:
After introducing new balance logic - paritytech/polkadot-sdk#1833 (comment)
there is a case, when user's funds may stuck, that happens when user transfer from his account with reserved and lock balances.
Case:
Actual result:
User can't sign operations in some pallets, it will fall down with error
proxy - https://westend.subscan.io/extrinsic/20967814-2
staking - https://westend.subscan.io/extrinsic/20967935-2
multisig - https://westend.subscan.io/extrinsic/20967870-2
but he still can transfer some assets from his account (submitted operation after all falls above):
https://westend.subscan.io/extrinsic/20967957-2
Example of that account:
https://westend.subscan.io/account/5EWrvLtq8wdpMTaKHMVNf7tarU7dpfU8Bi1QxRmMaZY2cVHf
Pallets where would be great to get support of new fee deduction:
The text was updated successfully, but these errors were encountered: