Skip to content

fix: insufficient-funds error references ETH instead of USDC gas#7

Open
memosr wants to merge 1 commit into
circlefin:masterfrom
memosr:fix/gas-error-message-usdc
Open

fix: insufficient-funds error references ETH instead of USDC gas#7
memosr wants to merge 1 commit into
circlefin:masterfrom
memosr:fix/gas-error-message-usdc

Conversation

@memosr

@memosr memosr commented Jul 14, 2026

Copy link
Copy Markdown

Summary

The parseTxError insufficient-funds branch tells users their wallet lacks ETH to cover gas fees. On Arc, USDC is the native gas token, not ETH. This message is misleading and contradicts the project's own README.

Details

  • lib/errors.ts returned: "Your wallet doesn't have enough ETH to cover gas fees..."
  • README.md (Prerequisites) states: "Arc Testnet uses USDC as native gas — no separate ETH needed for transaction fees."

A user hitting an insufficient-gas error would be told to add ETH, which doesn't apply on Arc and can't resolve their issue.

Fix

Updated the message to reference USDC and point users to the Circle faucet, matching Arc's design and the README.

Testing

Text-only change to a user-facing error string; no logic affected.

Arc uses USDC as its native gas token, not ETH. The insufficient-funds
error told users to add ETH, which contradicts Arc's design and the
project README (which states USDC is the native gas token). Updated the
message to reference USDC and point to the Circle faucet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant