wormhole-foundation / wormhole-connect

Wormhole Connect brings all the functionality and utility of Wormhole right into your application and removes all of the complexity.
https://connect-in-style.wormhole.com/
Other
70 stars 48 forks source link

[QA] User is able to change options in Route section after transaction is confirmed #937

Open tsadovska opened 10 months ago

tsadovska commented 10 months ago

Describe the current behavior in detail

User is able to change options in Route section after transaction is confirmed.

Builds - Tested NOK:

Checked from macOS version 12.6.7 and Google Chrome Version 116.0.5845.140 (Official Build) (x86_64).

Steps (for mainnet):

  1. Connect Metamask wallets in From and To sections
  2. Prepare to send 0.0013 USDC from Optimism to Ethereum
  3. Select "Pay with Two transactions" option in Route section
  4. Click "Approve and proceed with transaction" button
  5. Confirm Metamask notification about gas estimates
  6. Change option in Route section to "Pay with one transaction"

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/12171cfb-0b72-4a1a-96cc-665ddedb01b9

Issue can be reproducible on testnet when sending USDC from Goerli to Arbitrum.

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/4fbf0d04-f0dc-4f26-9ef9-7b587d17d499

What is the expected/desired behavior

User should not be able to change options in Route section after transaction is confirmed.

tsadovska commented 9 months ago

Issue is reproducible on https://wormhole-connect.netlify.app/ [Testnet] when sending 0.5 USDC from Goerli (Metamask) to Arbitrum Goerli (Metamask).

tsadovska commented 6 months ago

Issue is reproducible on https://deploy-preview-1312--wormhole-connect-mainnet.netlify.app/ [Mainnet] with following scenario:

Steps:

  1. Prepare to send 2 USDC from Avalanche (Metamask) to Polygon (Metamask)
  2. Expand Route section
  3. Click "Approve and proceed with transaction" button
  4. Change options in Route section

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/38d9cd70-9ae3-4c3a-b82f-a8997153f690

tsadovska commented 6 months ago

Issue is reproducible on https://wormhole-connect.netlify.app/ [Testnet] with following scenario:

  1. Prepare to send 0.2 BNB from BSC (Metamask) to Fantom (Metamask)
  2. Click "Approve and proceed with transaction" button
  3. Confirm Metamask notification
  4. Change options in Route section while transaction is processing

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/fb1ebfe2-2698-4df9-b0da-f3302cce73d8

tsadovska commented 3 months ago

Reproducible on https://deploy-preview-1674--wormhole-connect.netlify.app/ [Testnet] with "Native Token Transfer" route. Scenario: 0.01 USDC.e transfer from Alfajores (OKX) to Fuji (OKX). Options in Route section can be switched after confirming transaction in the wallet.

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/8881a28c-deea-442f-8f83-47989a8f5dc8