Skip to content

feat: deployWithSalts + gouda deployment to parmigiana#97

Open
rswanson wants to merge 3 commits into
mainfrom
deploy/parmigiana-792669
Open

feat: deployWithSalts + gouda deployment to parmigiana#97
rswanson wants to merge 3 commits into
mainfrom
deploy/parmigiana-792669

Conversation

@rswanson
Copy link
Copy Markdown
Member

Summary

  • Adds `ZenithScript.deployWithSalts(bytes32, ...)` to deploy Zenith/Passage/Transactor/HostOrders
    at fresh CREATE2 addresses via a caller-supplied salt prefix. Existing `deploy(...)` left intact so cd.yml / release-prod.yml keep working.
  • Used for the gouda rollup deployment onto the parmigiana host (`3151908`, rollup `792669`).

Deployed addresses

  • Zenith `0x9872Fa449306838614872d47Dee01FC0f0827cf7`
  • Passage `0x57348c54e3F89097579dFcD4F5d2700ca2EB1906`
  • Transactor `0x31797B512a1481FF2DCDD26f1facb50fD344BF7F`
  • HostOrders `0x5C5cd1F1c35227b14F6A94c6e05347403F4C963E`

Test plan

  • `forge build` clean, all 91 zenith tests pass
  • forge script ONCHAIN EXECUTION COMPLETE on parmigiana
  • Blockscout verification passed for all 4 contracts
  • Sequencer role set; `Zenith.isSequencer` returns true
  • WETH registered on Passage; `canEnter(WETH) = true`
  • `Passage.defaultRollupChainId() = 792669`
  • Node binaries rebuilt with new addresses

rswanson and others added 3 commits May 17, 2026 14:58
Adds a sibling `deployWithSalts(bytes32 saltPrefix, ...)` to the existing
`deploy(...)` function. The salt prefix is mixed into each contract's
CREATE2 salt via keccak256(abi.encodePacked(saltPrefix, name)), yielding
fresh deterministic addresses for the same source on a host where the
canonical-salt deployment already exists.

Existing deploy() and setSequencerRole()/revokeSequencerRole() unchanged
so cd.yml / release-prod.yml CI workflows continue to work.

Co-Authored-By: Claude Opus 4.7 <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.

1 participant