Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA] "ERC20: transfer amount exceeds balance" error appears in Console, tx USDC Arbitrum → Base using Automatic route #2396

Open
tsadovska opened this issue Aug 16, 2024 · 2 comments
Assignees
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement p1 Important issue

Comments

@tsadovska
Copy link
Collaborator

Describe the current behavior in detail

Checked on wormhole-connect-mainnet (Connect v2) with macOS Sonoma 14.5 and Google Chrome Version 127.0.6533.120 (Official Build) (arm64).

Steps:

  1. Fill in the fields in From section: USDC, Arbitrum (MetaMask)
  2. Fill in the fields in To section: USDC, Avalanche (MetaMask)
  3. Enter Amount, 0.6
  4. Select "Automatic route" option
  5. Click on "Review transaction"
  6. Confirm transfer

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

Notes/ Attachments

Wormhole Connect: error completing transfer Error: execution reverted: "ERC20: transfer amount exceeds balance" (action="estimateGas", data="0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002645524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63650000000000000000000000000000000000000000000000000000", reason="ERC20: transfer amount exceeds balance", transaction={ "data": "0xe4269fc4000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583100000000000000000000000000000000000000000000000000000000000927c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000010494454a5d000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583100000000000000000000000000000000000000000000000000000000000927c000000000000000000000000000000000000000000000000000000000000338c400000000000000000000000000000000000000000000000000000000000000000000000000000000000000009631288f4050f7cfbf77b77f8540decf6cfc70120000000000000000000000000000000000000000000000000000000000000001000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c00000000000000000000000000000000000000000000000000000000", "from": "0x9631288F4050F7CFbf77B77f8540DeCF6cfC7012", "to": "0x0654874eb7F59C6f5b39931FC45dC45337c967c3" }, invocation=null, revert={ "args": [ "ERC20: transfer amount exceeds balance" ], "name": "Error", "signature": "Error(string)" }, code=CALL_EXCEPTION, version=6.13.2)
    at makeError (main-BlRpU2F-.js:235:71362)
    at getBuiltinCallException (main-BlRpU2F-.js:236:107247)
    at M1.getBuiltinCallException (main-BlRpU2F-.js:236:108201)
    at Ya.getRpcError (main-BlRpU2F-.js:236:211293)
    at Ya.getRpcError (evm-C3A2TvAW.js:2:1682)
    at main-BlRpU2F-.js:236:215228
Screen.Recording.2024-08-16.at.21.05.12.mov
@tsadovska tsadovska added p1 Important issue connect v2 Tickets that relate to the full redesign+sdkv2 replacement labels Aug 16, 2024
@tsadovska tsadovska changed the title [QA] "ERC20: transfer amount exceeds balance" error appears in Console [QA] "ERC20: transfer amount exceeds balance" error appears in Console, tx USDC Arbitrum → Base using Automatic route Aug 16, 2024
@emreboga
Copy link
Collaborator

@tsadovska I've tried the same source/dest configuration as well as another one with a low balance. I can't seem to repro the issue above. Can you verify on your end as well?

@emreboga emreboga self-assigned this Aug 27, 2024
@agodlevska
Copy link
Collaborator

Checked on wormhole-connect-mainnet.

The first attempt to execute the transaction as described above resulted in an error (att. 1).

Wormhole Connect: error completing transfer Error: No receipt for 0x2d1b7e94fb5a1d3aeae44691bd35e90a4fb9c609907a215afd5fb1a6d4e5fc7e on Arbitrum
    at E.parseTransactionDetails (index-lccCmM9l.js:1:3905)
    at async CircleTransfer.st [as getTransferMessage] (main-RPuOtJsw.js:245:18376)
    at async AutomaticCCTPRoute.initiate (main-RPuOtJsw.js:245:53829)
    at async SDKv2Route.send (main-RPuOtJsw.js:273:70761)
    at async St (main-RPuOtJsw.js:313:66416)

However, upon retrying, the transaction was successfully completed without any issues (att. 2).

Attachment 1:

Screen.Recording.2024-09-11.at.14.47.33.mov

Attachment 2:
Screenshot 2024-09-11 at 15 08 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement p1 Important issue
Projects
None yet
Development

No branches or pull requests

3 participants