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

Trying to pay all funds results into VM error #3349

Closed
dit7ya opened this issue Apr 29, 2022 · 0 comments · Fixed by #3363
Closed

Trying to pay all funds results into VM error #3349

dit7ya opened this issue Apr 29, 2022 · 0 comments · Fixed by #3363
Assignees
Labels

Comments

@dit7ya
Copy link
Contributor

dit7ya commented Apr 29, 2022

Steps to reproduce

  1. Mint some tokens/ have some tokens
  2. Enter that amount in a Create Payment action

Expected behavior

It should not let you take that action, given that the network counting the network fee, it exceeds the total available funds.

Actual behavior

Payment action is allowed but fails with VM error.

Suggestions

This is introduced as a side-effect of #3275. The available funds check needs to incorporate the network fees too.
Also related, maybe there can be a view (tooltip on hover on a info icon) that shows the total amount to be spent including fees. This needs to be checked with product, what do you think @arrenv ?

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

Successfully merging a pull request may close this issue.

1 participant