Repository navigation
ops(arcade): ArcadeEscrow mainnet deploy, verification fix, paymaster Safe batch - #136
Merged
Merged
Conversation
…r import fix Records the zkSync mainnet ArcadeEscrow at 0x661A…eef0 with the Safe batch that sponsors its oracle through BondTreasuryPaymaster. Fixes the verifier's import rewrite, which swallowed a remapped import that followed a relative one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The mainnet sponsorship expansion still requires validation of live target bytecode, role state, and the first sponsored oracle transaction before execution.
No open issues 🎉
What changed in this PR
Adds deployment tooling and records for ArcadeEscrow on zkSync mainnet, fixes import remapping during contract verification, and prepares gas sponsorship for the oracle.
Changes:
- Adds a deployment wrapper that simulates by default and requires explicit confirmation for mainnet broadcasts.
- Fixes the verification regex so relative imports do not prevent subsequent imports from being remapped.
- Records deployment details and provides a paymaster whitelist batch; Safe execution remains pending.
| File | Description |
|---|---|
ops/verify_zksync_contracts.py |
Restricts import-path matching to prevent cross-statement matches. |
ops/safe/arcade-escrow-paymaster-whitelist.json |
Adds Safe calls to whitelist the escrow and oracle for gas sponsorship. |
ops/deploy_arcade_escrow_zksync.sh |
Adds guarded deployment tooling with temporary exclusion of L1-only files. |
ops/arcade-escrow-deployments.md |
Documents mainnet configuration, sponsorship setup, and deployment commands. |
Review effort: Balanced
LCOV of commit
|
8 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ArcadeEscrowto zkSync mainnet at0x661A48370275F10A7f95a86E408B568C08eFeef0(verified). The record is inops/arcade-escrow-deployments.md.ops/deploy_arcade_escrow_zksync.sh, a copy of the tipping wrapper: zkSync compile, simulate by default,CONFIRM_MAINNET=YESto broadcast.ops/verify_zksync_contracts.py. Inapply_remappings, the import regex could match from a relative import's closing quote ("../QuotaControl.sol";) into the next line, swallowing the opening quote of the following@openzeppelinimport. That import was never remapped. The explorer reported a bareinternal errorwith plain0.8.26, andIERC20.sol not foundonce pinned to the zkVM solc. The path group now excludes;and newlines.ops/safe/arcade-escrow-paymaster-whitelist.json: a Safe Transaction Builder batch for gas sponsorship (below).0x5e097AC1…86C9(2-of-4). The deployer holds no role0x7b0d2471…3fcD, new key in Secret Managerarcade-escrow-oracle-private-key, separate from mission-control'soracle_private_keyminDeposit/maxChargewithdrawDelayNeeds a Safe transaction (not executed)
Sponsoring the oracle's gas through
BondTreasuryPaymaster0xb2535281…bfFEneedsaddWhitelistedContracts([escrow])+addWhitelistedUsers([oracle]). Only the Safe holdsWHITELIST_ADMIN_ROLE. Both calls simulate cleanly from the Safe; import the JSON in the Transaction Builder.No top-up is needed. The paymaster holds 0.0859 ETH and spent 0.0004 ETH in 30 days. A sponsored
chargeshould cost ~0.000006 ETH, likePayment.pay. Its NODL funds swarm bonds only.Test plan
0x1d6735dd…4f52, status 1🤖 Generated with Claude Code