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

[QA] Transaction fails with "SafeERC20: low-level call failed" error #2635

Closed tsadovska closed 2 weeks ago

tsadovska commented 2 months ago

Describe the current behavior in detail

Checked on https://wormhole-connect-mainnet.netlify.app/ and https://preview.portalbridge.com/b1f3c5115d/ and with macOS Sonoma 14.5 and Google Chrome Version 129.0.6668.59 (Official Build) (arm64).

Steps:

  1. Prepare to send 0.000004 WBTC from Ethereum (Backpack) to Base (Backpack)
  2. Click on "Review transaction" button
  3. Click on "Confirm transaction" button

Actual result: Transaction fails. Expected result: Transaction proceeds without errors.

Notes/ Attachments

Wormhole Connect: error completing transfer Error: execution reverted: "SafeERC20: low-level call failed" (action="estimateGas", data="0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000205361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564", reason="SafeERC20: low-level call failed", transaction={ "data": "0x0f5287b00000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000009631288f4050f7cfbf77b77f8540decf6cfc701200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "from": "0x9631288F4050F7CFbf77B77f8540DeCF6cfC7012", "to": "0x3ee18B2214AFF97000D974cf647E7C347E8fa585" }, invocation=null, revert={ "args": [ "SafeERC20: low-level call failed" ], "name": "Error", "signature": "Error(string)" }, code=CALL_EXCEPTION, version=6.13.2)
    at makeError (main-DdjFQnWn.js:178:68988)
    at getBuiltinCallException (main-DdjFQnWn.js:179:107247)
    at x1.getBuiltinCallException (main-DdjFQnWn.js:179:108201)
    at Pi.getRpcError (main-DdjFQnWn.js:179:211293)
    at Pi.getRpcError (evm-BWWQa1Dc.js:2:2070)
    at main-DdjFQnWn.js:179:215228
image

https://github.com/user-attachments/assets/302b5966-ddbb-4f6a-a714-963863c7740a

kev1n-peters commented 2 months ago

Unable to reproduce this using backpack wallet: https://wormholescan.io/#/tx/0x3ef6c19fac02e97a8f44a0ebc0fd984388b438149b86b99a7714bd9507029455

kev1n-peters commented 2 months ago

seems like an intermittent issue related to the wallet sometimes calculating too low of a gas fee https://support.allianceblock.io/support/solutions/articles/80000974593-what-does-a-safeerc20-low-level-call-failed-mean-

tsadovska commented 2 months ago
  1. Was able to reproduce the issue when sending max available amount, 0.000004 WBTC from Ethereum (Backpack) to Base (Backpack). In this case, error "SafeERC20: low-level call failed" appeared in Console after clicking on "Confirm transaction" button.

https://github.com/user-attachments/assets/88bf55f2-9436-4206-9840-181e318f45be

  1. Transfer 0.000001 WBTC from Ethereum (Backpack) to Base (Backpack) started successfully, link to Wormholescan.
tsadovska commented 2 weeks ago

Issue is no longer reproducible on https://wormhole-connect-mainnet.netlify.app/. Sent max available WBTC from Ethereum (Backpack) to Base (Base), link to Wormholescan. Closing the ticket.