wormhole-foundation/wormhole-connect

[QA] Token is not reset after network switch

Opened this issue · 0 comments

Describe the current behavior in detail

Environment:

  • OS: macOS Sequoia 15.0.1
  • Wallets: MetaMask
  • Browser: Google Chrome Version 131.0.6778.86 (Official Build) (x86_64)
  • wormhole-connect-mainnet

Steps to Reproduce:

  1. In the source chain, select the Arbitrum network and the token tBTC or ETH
  2. In the destination chain, select the Optimism network and the token tBTC or ETH
  3. Change the destination chain network to another network without tBTC or ETH token on balance

Expected Result: After switching the source chain network to Sui, the token selection should be reset because tBTC is not available in the Sui network's wallet.

Actual Result: After switching the source chain network to Sui, the previously selected token (tBTC) remains selected.

Attachments/Notes

Screen.Recording.2024-11-27.at.15.18.50.mov