Skip to content

[CI-only, do not merge] eip155:31612 SDK entries CI gate#6

Closed
ryanRfox wants to merge 1 commit into
ci-base-2026-06-09from
feat/mezo-mainnet-31612-sdk-entries
Closed

[CI-only, do not merge] eip155:31612 SDK entries CI gate#6
ryanRfox wants to merge 1 commit into
ci-base-2026-06-09from
feat/mezo-mainnet-31612-sdk-entries

Conversation

@ryanRfox

@ryanRfox ryanRfox commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Throwaway PR for Q1 fork-CI gate (x4-hyn9fv.4). Will be closed without merging after CI completes.

Mezo mainnet launched with the canonical x402 contracts (Permit2 +
Exact/Upto proxies) deployed at the same CREATE2 addresses as Base and
Mezo testnet, so the SDKs can now offer mUSD as the chain's default
stablecoin. Adds the eip155:31612 entry to all three SDK registries
(TS DEFAULT_STABLECOINS, Go NetworkConfigs + ChainIDMezo, Python
NETWORK_CONFIGS), mirroring the existing eip155:31611 testnet entry
with only the token address and chain id differing.

Field values were confirmed on-chain via ERC-5267 eip712Domain():
name "Mezo USD", version "1", chainId 31612; decimals()=18; EIP-2612
nonces() present (mUSD lacks EIP-3009, so transfers go through Permit2
with gasless EIP-2612 approval). No faucetUrl: mainnet has no faucet
and the paywall faucet UI is testnet-gated.

The Go constant is named ChainIDMezo (not ChainIDMezoMainnet) to match
the unsuffixed-mainnet convention (ChainIDBase, ChainIDStable,
ChainIDRadius, ChainIDHPP). Mainnet entries precede their testnet
siblings in every registry, matching the other chain families.

gen/decimals.ts is the build:paywall output for the new 18-decimal
entry (DEFAULT_ASSETS.md step 3). The nine paywall template bundles
were deliberately NOT regenerated: a clean-HEAD rebuild already
changes all nine (pre-existing drift on main, likely from a dependency
bump after the last regen; check_paywall_template is now
workflow_dispatch-only so PRs no longer enforce it), and the client
bundles do not embed the decimals map, so they have no functional
dependency on this change. Including them would mix ~MB of unrelated
minifier churn into a 34-line chain addition.

Validation: full TS suite (45 turbo tasks), pytest (1651 passed), go
test -race, plus lint/format gates for all three languages, green on
base and on this change. Tracked by x4-hyn9fv.4; Python display-amount
6-decimal hardcoding found during review filed as x4-4a6mr8.
@ryanRfox

ryanRfox commented Jun 9, 2026

Copy link
Copy Markdown
Owner Author

CI-only PR closed: 14 checks green (7/7 workflow runs success) on 39f6a0d

@ryanRfox ryanRfox closed this Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant