Skip to content

feat: add zeronet system deploy task#746

Open
rayyan224 wants to merge 6 commits into
mainfrom
rayyan/zeronet-system-deploy
Open

feat: add zeronet system deploy task#746
rayyan224 wants to merge 6 commits into
mainfrom
rayyan/zeronet-system-deploy

Conversation

@rayyan224

Copy link
Copy Markdown

Summary

  • Adds zeronet/2026-06-24-system-deploy/ task folder for running a full L1 system deployment on zeronet
  • Makefile invokes forge script SystemDeploy.s.sol:SystemDeploy directly from the sibling contracts/ repo (no deploy.sh)
  • deploy-config/zeronet.json is kept inside the task folder and passed via DEPLOY_CONFIG_PATH; known values are pre-filled, remaining fields are marked TODO

Test plan

  • Fill in all TODO fields in deploy-config/zeronet.json (ZK hashes, fee vault recipients, guardian, p2p sequencer, etc.)
  • Run make simulate to dry-run the deployment with no broadcast
  • Run make deploy with Ledger connected to broadcast the full system deployment

Adds a new task folder for deploying the full L1 system on zeronet
using SystemDeploy.s.sol from the sibling contracts repo.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 2
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 2
2
1 if commit is unverified 0
Sum 2

rayyan224 and others added 5 commits June 24, 2026 12:20
Populates previously TODO fields using existing zeronet/.env values:
- finalSystemOwner <- PROXY_ADMIN_OWNER
- superchainConfigGuardian <- CB_MULTISIG
- sp1Verifier <- RISC_ZERO_SET_VERIFIER
- fee vault recipients <- CB_MULTISIG (all four)

Still TODO: p2pSequencerAddress, zkRangeHash, zkAggregationHash,
multiproofConfigHash, multiproofGenesisOutputRoot

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Populates TODO fields using values from the most recently executed tasks:
- zkRangeHash / zkAggregationHash <- 2026-06-13-upgrade-zk-and-tee-hash
- multiproofConfigHash <- 2026-04-01-activate-multiproof (CONFIG_HASH)
- multiproofGenesisOutputRoot / multiproofGenesisBlockNumber <- most recent anchor reset (2026-06-13)

Only remaining TODO: p2pSequencerAddress (not present in any task file)

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Starting from scratch on Hoodi L1, so multiproofGenesisBlockNumber
resets to 0. multiproofGenesisOutputRoot needs to be filled with the
actual L2 genesis output root once op-node genesis is created.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
…ctions

Sets multiproofGenesisBlockNumber/OutputRoot to current zeronet finalized
state (block 4179448). These values must be refreshed to a recent block
immediately before deploying since the proof node only retains recent
history. README now includes the cast commands to fetch fresh values.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
…er()

Read directly from SystemConfig (0xcc7c...ea80) on Hoodi L1.
deploy-config/zeronet.json now has no remaining TODO fields.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
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.

2 participants