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

Multisig. Error handling. Liquidity restriction check should be handle properly. #2690

Open
stepanLav opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
Clarification required Issues require more info or research Design required Issues require UX/UI design before development Feedback Issues & PRs addressing users' feedback

Comments

@stepanLav
Copy link
Member

Current validation shows Not enough tokens with explanation - Not enough tokens for paying multisig deposit and network fee on a selected account

but actually it triggers by condition balance.free >= balance.frozen after operation

Which may be hard to understand in case, when user has a big amount of frozen tokens, for example:
Account 5EpsavEfPSZC8X2E4zHdJdepzpzfSccqNP5RUVyAU9Hyi3z4 has that balances:

{
  nonce: 932
  consumers: 3
  providers: 1
  sufficients: 0
  data: {
    free: 47,299,377,762,610
    reserved: 27,242,700,000,000
    frozen: 46,725,200,939,162
    flags: 170,141,183,460,469,231,731,687,309,040,608,171,718
  }
}

And run into liquidityrestrictions problem - https://westend.subscan.io/extrinsic/23518962-2
But for user its not quite clear why his 47+ WND not enough for pay fee and hold multisig deposit which in sum ~1.2 WND

Example:

Screenshot 2024-11-20 at 11 04 43 Screenshot 2024-11-20 at 11 04 13
@stepanLav stepanLav added the Feedback Issues & PRs addressing users' feedback label Nov 20, 2024
@pgolovkin pgolovkin added Clarification required Issues require more info or research Design required Issues require UX/UI design before development labels Nov 20, 2024
@pgolovkin pgolovkin modified the milestone: Milestone 5 Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clarification required Issues require more info or research Design required Issues require UX/UI design before development Feedback Issues & PRs addressing users' feedback
Projects
Status: Todo
Development

No branches or pull requests

2 participants