Skip to content

fix: align Arc Testnet chain metadata - #45

Open
dumanoglu1 wants to merge 1 commit into
circlefin:masterfrom
dumanoglu1:fix/arc-testnet-chain-config
Open

fix: align Arc Testnet chain metadata#45
dumanoglu1 wants to merge 1 commit into
circlefin:masterfrom
dumanoglu1:fix/arc-testnet-chain-config

Conversation

@dumanoglu1

Copy link
Copy Markdown

Summary

  • update the hand-rolled Arc Testnet chain metadata to use 18 native USDC decimals
  • replace the stale explorer URL with the public ArcScan testnet explorer
  • add a Vitest regression check for the Arc Testnet native currency and explorer metadata

Fixes #44.

Testing

  • npm ci --legacy-peer-deps
  • npm run lint -- lib/circle/gateway-sdk.ts tests/arc-testnet-chain.test.ts
  • npx -y -p node@22 node node_modules/vitest/vitest.mjs run tests/arc-testnet-chain.test.ts

Notes:

  • Plain npm ci currently fails on the repo's existing peer dependency conflict, so I used --legacy-peer-deps.
  • The local default Node is v21.6.1; Vitest's current dependency chain needs node:util.styleText, so I ran the focused test with Node v22.23.2 via npx -p node@22.

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.

Arc Testnet chain definition declares 6 native decimals (should be 18) and points at a dead explorer

1 participant