Skip to content

Conversation

@ludamad
Copy link
Collaborator

@ludamad ludamad commented Dec 18, 2025

Adds a new GitHub Action workflow that generates rollup upgrade payloads, along with a forge script for convenience in doing so

@ludamad ludamad marked this pull request as ready for review January 8, 2026 18:53
@ludamad ludamad force-pushed the ad/feat/rollup-upgrade-payload-action branch from 8167d6e to 0a713be Compare January 8, 2026 22:14
@AztecBot AztecBot force-pushed the ad/feat/rollup-upgrade-payload-action branch from 0a713be to 9a8632a Compare January 8, 2026 22:35
@AztecBot AztecBot enabled auto-merge January 8, 2026 22:35
@AztecBot AztecBot force-pushed the ad/feat/rollup-upgrade-payload-action branch from 9a8632a to ab84102 Compare January 8, 2026 22:38
@ludamad ludamad disabled auto-merge January 8, 2026 22:38
Adds a new governance payload contract that registers a new rollup version
in both the Registry and GSE contracts. This enables governance-controlled
rollup upgrades.

Includes:
- RegisterNewRollupVersionPayload.sol contract
- CreateRollupUpgradePayload.s.sol forge script
- GitHub Action workflow for payload creation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ludamad ludamad force-pushed the ad/feat/rollup-upgrade-payload-action branch from 1c15c2b to dd8c6c9 Compare January 8, 2026 22:40
REGISTRY_ADDRESS: ${{ inputs.registry_address }}
ROLLUP_ADDRESS: ${{ inputs.rollup_address }}
run: |
forge script script/deploy/CreateRollupUpgradePayload.s.sol:CreateRollupUpgradePayload \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to --verify --verifier etherscan --etherscan-api-key XXX.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah right I missed this as it was a simple payload

/// - ROLLUP_ADDRESS: Address of the new Rollup to register
///
/// Outputs the deployed payload address.
contract CreateRollupUpgradePayload is Script {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we should just deploy the new rollup in here. Thoughts @LHerskind ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The best flow I see is running one github action, and having the rollup and upgrade payload we want deployed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I was wonder, wasn't sure if people would want to first smoke test a deployed rollup then do this

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, though there is nothing stopping us from doing both and still smoke testing.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would include the rollup deployment. It will also force us now to define the configuration parameters we want to use.

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.

4 participants