XLabs / portal-bridge-ui

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

[bug] Unexpected UI behaviour when network is changed #1034

Closed tsadovska closed 2 weeks ago

tsadovska commented 3 months ago

Is there an existing issue for this?

Current Behavior

Warning "This token is not registered" briefly appears for one second. After that, two options with "NTT Automatic Routes" are displayed for another second. These options then change to "Cosmos Gateway", and the Approve button disappears.

Please use this link to view the recording.

image

Expected Behavior

Route is changed to "Cosmos Gateway". Approve button or warning to register token is displayed.

Steps To Reproduce

  1. Open https://portalbridge.com/
  2. Prepare to send 0.000059 osETH from Ethereum (MetaMask) to Arbitrum (MetaMask)
  3. Change destination network from Arbitrum to Injective
  4. Observe

Environment

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

Anything else?

No response

tsadovska commented 2 weeks ago

Closing the ticket, because currently Injective network is not displayed in networks list on https://portalbridge.com/.