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
78 stars 58 forks source link

[QA] "Wallet Balance" field displays the balance of the currently selected network in the extension instead of source chain balance #2729

Open tsadovska opened 4 days ago

tsadovska commented 4 days ago

Describe the current behavior in detail

Checked on https://wormhole-connect-mainnet.netlify.app/.

Custom config:

{
network: "Mainnet",
routes: [AutomaticCCTPRoute]
}

Steps:

  1. Prepare to send 0.1 USDC from Ethereum (MetaMask) to Arbitrum (MetaMask)
  2. Check amount in "Wallet balance" field
  3. Change network in MetaMask extension
  4. Check if "Wallet balance" field is updated

Actual result: "Wallet balance" field is updated. Balance of the currently selected network in Metamask is displayed in the "Wallet Balance" field.

Expected result: Source chain balance is displayed in "Wallet balance" field.

Notes/ Attachments

https://github.com/user-attachments/assets/583269dc-7eaf-45f9-8425-b96aba0cc8bd