XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
25 stars 36 forks source link

[bug] Two options with the same contract address are displayed #1135

Open tsadovska opened 2 hours ago

tsadovska commented 2 hours ago

Is there an existing issue for this?

Current Behavior

Two options with the same contract address are displayed. Contract address 7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs, https://explorer.solana.com/address/7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs.

Screenshot 2024-10-17 at 14 12 04

Expected Behavior

Only one option with wormhole-wrapped WETH is displayed.

Steps To Reproduce

  1. Open deeplink https://preview.portalbridge.com/dd12faf4dd/?sourceChain=ethereum&targetChain=solana&asset=ETH
  2. Open "To" section
  3. Check ETH and WETH tokens

Environment

- OS: macOS Sonoma 14.5
- Wallet: MetaMask, Phantom
- Browser: Google Chrome Version 129.0.6668.100 (Official Build) (arm64)

Anything else?

No response

tsadovska commented 1 hour ago

Issue is not reproducible when user opens https://preview.portalbridge.com/dd12faf4dd/, then selects Ethereum network and ETH token in "From" section and then opens "To" section. In this case, only WETH token is displayed in the list.

image