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] Transaction failed with "ERC20: transfer amount exceeds balance" error #3328

Open
tsadovska opened this issue Feb 28, 2025 · 0 comments
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement mayan p2 Low priority issue

Comments

@tsadovska
Copy link
Collaborator

Describe the current behavior in detail

Issue noticed only once on https://portalbridge.com/.

Steps:

  1. Prepare to send USDC from Polygon (MetaMask) to Solana (Phantom)
  2. Click on "max" to send all available USDC from Polygon (In my case, 215.330093)
  3. Click on "Review transaction" button
  4. Click on "Confirm transaction" button

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

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": "0xe4269fc40000000000000000000000003c499c542cef5e3811e1192ce70d8cc03d5c3359000000000000000000000000000000000000000000000000000000000cd5ad2d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cbe9186a89db78714785765055e09dd6166e0833000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000e443fc7da0678d9f6525bdb0bc0692b1a4bb3895bd68225d522ca8e65af0b93ed15e853281000000000000000000000000000000000000000000000000000000000cd5ad2d00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002a01000000045a9267c18f0f02000000000000d2dace3801000000000000000000000000000cd5ad2d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "from": "0x9631288F4050F7CFbf77B77f8540DeCF6cfC7012", "to": "0x0654874eb7F59C6f5b39931FC45dC45337c967c3" }, invocation=null, revert={ "args": [ "ERC20: transfer amount exceeds balance" ], "name": "Error", "signature": "Error(string)" }, code=CALL_EXCEPTION, version=6.13.5)
    at makeError (pb-index-DkZaRbs1.js:267:20032)
    at getBuiltinCallException (pb-index-DkZaRbs1.js:268:108727)
    at Ku.getBuiltinCallException (pb-index-DkZaRbs1.js:268:109700)
    at pc.getRpcError (pb-index-DkZaRbs1.js:268:214129)
    at pc.getRpcError (evm-DvlAO_-c-CiSj58kC.js:7:1686)
    at pb-index-DkZaRbs1.js:268:218070

Image

Notes

  • Correct USDC amount is shown in MetaMask.

Image

  • Transfer is not initiated.

Image

  • Source and destination wallet account: 0x9631288F4050F7CFbf77B77f8540DeCF6cfC7012.

  • Transaction started successfully from the second attempt.

Screen.Recording.2025-02-28.at.11.57.08.mov
@tsadovska tsadovska added p2 Low priority issue connect v2 Tickets that relate to the full redesign+sdkv2 replacement mayan labels Feb 28, 2025
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 mayan p2 Low priority issue
Projects
None yet
Development

No branches or pull requests

2 participants
@tsadovska and others