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
82 stars 66 forks source link

[QA] Wormhole-wrapped assets are not displayed in "To" section #2818

Open tsadovska opened 1 month ago

tsadovska commented 1 month ago

Describe the current behavior in detail

Checked on Netlify with following config and https://portalbridge.com/.

Steps:

  1. Select Arbitrum or Base network in "To section" (OKX wallet is auto-connected)
  2. Check if wormhole-wrapped WETH is displayed in the list

Actual result: Wormhole-wrapped WETH is displayed in "From" section, but is not displayed in "To" section. Expected result: Wormhole-wrapped WETH is displayed in both sections.

Notes/ Attachments

Screenshot 2024-10-09 at 16 03 45

image

emreboga commented 1 month ago

I think you should not display Wormhole-wrapped WETH at all, but you are seeing only because you have a balance in your wallet for it. @Wesleyleung can you confirm whether that is the expected behavior?

Wesleyleung commented 1 month ago

So there should be an exception in the case if you have Wormhole-wrapped ETH in your balance. It will still allow you to move to other EVMs as the Wormhole-wrapped eth or back to its origin, which unwraps it as ETH on Etheruem. The exception makes it so that you don't have "stranded" Wormhole-wrapped assets, but by not showing it if you don't have a balance, it reduces the likelihood of minting new ones.

Maybe @kev1n-peters you could pick this up since you had dealt with this nuances before?