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

incorrect validation shown when entering a value greater than owned balance #21960

Open
VolodLytvynenko opened this issue Jan 20, 2025 · 1 comment
Labels
wallet: Send all issues for the send page of the wallet wallet-core Issues for mobile wallet team

Comments

@VolodLytvynenko
Copy link
Contributor

Steps to reproduce:

  1. Open the wallet.
  2. Go to send setup page
  3. Select an ERC-20 asset (e.g., DAI).
  4. Enter a value greater than the owned balance (e.g., you have 9 DAI but enter 10).

Actual result:

The validation message incorrectly states: "Not enough assets to pay gas fee", even though the user has sufficient ETH for the gas fee. The issue occurs because the entered ERC-20 token amount exceeds the user's ERC-20 assets.

Image

Expected result:

A clear validation message should be displayed. Still under discussion https://discord.com/channels/1210237582470807632/1270072144067563520/1330912399712194631

ENV:

Nightly 20 Jan, 2025

@VolodLytvynenko VolodLytvynenko added wallet-core Issues for mobile wallet team wallet: Send all issues for the send page of the wallet labels Jan 20, 2025
@VolodLytvynenko
Copy link
Contributor Author

hi @xAlisher could you take a look at this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wallet: Send all issues for the send page of the wallet wallet-core Issues for mobile wallet team
Projects
Status: Backlog
Development

No branches or pull requests

2 participants
@VolodLytvynenko and others