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

Token allowance #466

Open
Liubov-crypto opened this issue Aug 9, 2022 · 1 comment
Open

Token allowance #466

Liubov-crypto opened this issue Aug 9, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Liubov-crypto
Copy link
Collaborator

What happened?

When allowing to use an additional amount of tokens in swap / pool transactions, an error appears that the balance of the token is insufficient:

2022-08-09.1.19.22.mov

cons error
cons error1

How can we reproduce it?

  1. Go to https://aepp.dex.superhero.com/swap
  2. Connect wallet commit 4fc9539 / v.0.9.10
  3. Choose token A
  4. Choose token B
  5. Click on Allow pop-up
  6. Click on Swap
  7. See the error

Which device did this issue occur on?

Desktop

What browsers are you seeing the problem on?

Firefox

Anything else you want us to know?

The same error occurs when adding liquidity to a pool. Although the result is a successful transaction

@Liubov-crypto Liubov-crypto added the bug Something isn't working label Aug 9, 2022
@kenodressel
Copy link
Member

After successfully submitting the transaction, we should clear the amount immediately to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants