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

An infinity sending of a swap transaction on swap transaction rejection #159

Open
Andrew718PLTS opened this issue Nov 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Andrew718PLTS
Copy link

Description

An infinity sending of a swap transaction on swap transaction rejection via the Metamask wallet

STR

  1. Navigate to the app with a connected wallet
  2. Select any currently available tokens to swap
  3. Fill any token price input
  4. Click on the "Continue" button
  5. Click on the "Swap" button
  6. Confirm the "Approve" transaction
  7. Reject the "Swap" transaction

Actual result

An infinity sending of a swap transaction on swap transaction rejection that overload the browser

Expected result

A swap transaction on swap transaction rejection sends some certain repetitions (it has to be defined)

Comment

I'd suggest to set certain repetitions to send a swap transaction and after if it's canceled - show a notification with a specific message like: "Unable to send a swap transaction - transaction hasn't approved"

Attachments

Private Zenhub Video

@Andrew718PLTS Andrew718PLTS added automation-bug bug Something isn't working and removed automation-bug labels Nov 21, 2024
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
@Andrew718PLTS and others