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 63 forks source link

[QA] Error "Token Bridge Relayer contract for domain optimism not found" appears in Console #1910

Closed tsadovska closed 1 week ago

tsadovska commented 6 months ago

Describe the current behavior in detail

Checked on https://wormhole-connect-mainnet.netlify.app/ [Mainnet] and https://portalbridge.com/ [Mainnet] with macOS and Google Chrome.

Steps:

  1. Open https://wormhole-connect-mainnet.netlify.app/ or https://portalbridge.com/ and open Console
  2. Select Optimism network as source chain
  3. Connect MetaMask wallet in "From" section
  4. Select Arbitrum network as destination chain
  5. Connect MetaMask wallet in "To" section
  6. Select wstETH asset
  7. Check if an error is appearing in the Console

Actual result: Error also appears after Amount is entered or changed.

Error: Token Bridge Relayer contract for domain optimism not found
    at EthContracts.mustGetTokenBridgeRelayer (main-BIApWWvg.js:319:77368)
    at EthContext.getRelayerFee (main-BIApWWvg.js:319:88479)
    at RelayRoute.getRelayerFee (main-BIApWWvg.js:327:138877)
    at RelayRoute.isRouteAvailable (main-BIApWWvg.js:327:133688)
    at Operator.isRouteAvailable (main-BIApWWvg.js:327:125246)
    at main-BIApWWvg.js:524:83605

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/eb7f9549-0567-4ecf-af0d-2ee3b07def94

What is the expected/desired behavior

Error does not appear.

Note

Similar error occurs on other chains.

DevMac9990 commented 4 months ago

I found this problem agin ,can any one help me ,tanks