connext / monorepo

Connext is a modular stack for trust-minimized, generalized communication between blockchains.

Home Page:https://docs.connext.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ICE: 18] UI bug WETH/ETH token

ekbainova opened this issue · comments

commented

Describe the bug
Base origin - is impossible to choose ETH as a Token, it is automatically switched to WETH
The bug was identified on QA7
https://www.notion.so/connext/Wallet-balance-86ceef885ea14385a320ab310d095090?pvs=4

Link to ticket in Intercom
https://app.intercom.com/a/inbox/qge2vd8z/inbox/admin/7092575/conversation/1074?view=List

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://bridge.connext.network/ETH-from-base-to-linea?symbol=ETH'
  2. Click on 'ETH'
  3. See error

Screenshot 2024-05-24 at 20.25.03.png

commented

@regexpressyourself If there is enough capacity, bring it for yourself.

Issue is in the asset config, ETH is selected, but WETH is the "symbol" that's selected from the assets config

We may need to make an exception for ETH. When user selects ETH, the SDK constructs a multicall that includes swapping ETH->WETH and xcall with WETH. The sdk.xcall() function still expects the WETH address as input (but with wrapNativeOnOrigin: true). That's why we have WETH defined under ETH.