feat: Deploy EPV0.7 contracts for Arc Testnet, Monad Testnet, and Monad - #97
hdang-circle wants to merge 13 commits into
Conversation
…lugins for epv0.7
huaweigu
left a comment
There was a problem hiding this comment.
Do you mind filing a story to investigate the root cause? Initially I thought we didn't pin down the foundry version, but it seems like we did that.
Arc-specific runtime constraints for the deployed SponsorPaymasterThe contracts are live and visible on ArcScan — confirming the deployment tooling handled 1. ERC-7562 +
|
| Context | Decimals |
|---|---|
actualGasCost passed to postOp |
18 (wei, native gas accounting) |
USDC ERC-20 (0x3600000000000000000000000000000000000000) |
6 |
Converting actualGasCost to a USDC-6 amount requires dividing by 1e12 (not 1e18). An off-by-1e12 error silently mismeasures the charge by a factor of one trillion — the symptom would be USDC Paymaster balances draining orders of magnitude faster or slower than expected, with no obvious on-chain error.
3. Gas estimation for complex UserOp inner calls
eth_estimateGas on Arc Testnet is unreliable for multi-step contract calls (CCTP depositForBurn, receiveMessage, etc.) — it returns data:null rather than a gas estimate (arc-node #80, #108). Bundlers use eth_estimateUserOperationGas internally which handles most cases, but for UserOps with particularly complex inner calls (e.g. a bridging operation as the UserOp's main call), end-to-end testing through Pimlico on Arc is worth doing before assuming estimation works.
Arc-specific ERC-4337 constraints (compilation + runtime) are documented with worked examples in circlefin/arc-node PR #114.
Summary
Contracts are deployed and verified:
Monad
Plugin Manager
UpgradableMSCAFactory
ColdStorageAddressBookPlugin
WeightedWebauthnMultiSigPlugin
EPV0.7 Paymaster Proxy
EPV0.7 Paymaster Implementation
Monad Testnet
Plugin Manager
UpgradableMSCAFactory
ColdStorageAddressBookPlugin
WeightedWebauthnMultiSigPlugin
EPV0.7 Paymaster Proxy
EPV0.7 Paymaster Implementation
Arc Testnet
Plugin Manager
UpgradableMSCAFactory
ColdStorageAddressBookPlugin
WeightedWebauthnMultiSigPlugin
EPV0.7 Paymaster Proxy
EPV0.7 Paymaster Implementation
Detail
Contracts are deployed for Monad, Monad Testnet, and Arc Testnet for epv0.7. All contracts are verified
Changeset
N/A
Checklist
yarn test)yarn coverage)docsfolder)yarn lint) and fix any issues?yarn format:check) and fix any issues (yarn format:write)?Testing
Tests passed
Documentation
N/A