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
78 stars 58 forks source link

[QA] Transaction from Ethereum fails with "MetaMask - RPC Error" and "computing receive amount" error #2209

Closed tsadovska closed 3 months ago

tsadovska commented 3 months ago

Describe the current behavior in detail

Checked on https://wormhole-connect-mainnet.netlify.app/ [Mainnet] and https://preview.portalbridge.com/933197c94d/ [Mainnet] with macOS Sonoma 14.4.1 and Google Chrome Version 126.0.6478.62 (Official Build) (arm64).

Steps:

  1. Prepare to send 0.0002 ETH from Ethereum (MetaMask) to Optimism (MetaMask)
  2. Click on "Approve and proceed with transaction" button
  3. Confirm MetaMask notification

Actual result: Transaction fails. MetaMask - RPC Error: Transaction does not have a transaction hash, there was a problem {code: -32603, message: 'Transaction does not have a transaction hash, there was a problem'}

Wormhole Connect: error completing transfer {code: -32603, message: 'Transaction does not have a transaction hash, there was a problem'}

Error: Error computing receive amount
    at f3.computeReceiveAmountInternal (pb-index-D31SaQCC.js:519:31402)
    at f3.computeReceiveAmountWithFees (pb-index-D31SaQCC.js:519:31900)
    at Operator.computeReceiveAmountWithFees (pb-index-D31SaQCC.js:519:92458)
    at ko (pb-index-D31SaQCC.js:742:10883)
    at pb-index-D31SaQCC.js:742:11175
    at Rj (pb-index-D31SaQCC.js:46:26723)
    at Ik (pb-index-D31SaQCC.js:46:46749)
    at Xk (pb-index-D31SaQCC.js:46:45442)
    at Qk (pb-index-D31SaQCC.js:46:44396)
    at Fk (pb-index-D31SaQCC.js:46:40658)

Notes/ Attachments

ETH Bridge route:

image

Screenshot 2024-06-19 at 09 54 05

Native Token Transfer route:

image

tsadovska commented 3 months ago

Issue is no longer reproducible on https://preview.portalbridge.com/933197c94d/ Scenarios - Tested OK:

Ticket is closed.