Skip to content

feat(tee-cli)!: drop the ceremony's -g/--genesis-hash override - #82

Merged
samlaf merged 1 commit into
mainfrom
ceremony-drop-genesis-hash-override
Jul 30, 2026
Merged

feat(tee-cli)!: drop the ceremony's -g/--genesis-hash override#82
samlaf merged 1 commit into
mainfrom
ceremony-drop-genesis-hash-override

Conversation

@samlaf

@samlaf samlaf commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

The ceremony already fails closed on both sources of that value: the template's sha256 is checked against summit.genesis_template_hash, and every node's real block 0 is asserted equal to the manifest's eth.genesis_hash before anything is built. Past those gates the committed template carries the identical hash (assemble fills it), so passing -g to the summit genesis binary overwrote equal with equal — and the flag's only real user was the dev-only --genesis-hash override, which let an operator diverge the delivered genesis.toml from the committed identity with just a warning.

genesis.toml is now a pure function of the manifest-committed template bytes plus the gathered validator set. Deploy-only change (the summit binary's -g is Option); the network-dir diagram's ceremony caption is updated to match.

The ceremony already fails closed on both sources of that value: the
template's sha256 is checked against summit.genesis_template_hash, and
every node's real block 0 is asserted equal to the manifest's
eth.genesis_hash before anything is built. Past those gates the
committed template carries the identical hash (assemble fills it), so
passing -g to the summit genesis binary overwrote equal with equal —
and the flag's only real user was the dev-only --genesis-hash override,
which let an operator diverge the delivered genesis.toml from the
committed identity with just a warning.

genesis.toml is now a pure function of the manifest-committed template
bytes plus the gathered validator set. Deploy-only change (the summit
binary's -g is Option); the network-dir diagram's ceremony caption is
updated to match.
@samlaf
samlaf merged commit ace6240 into main Jul 30, 2026
1 check passed
@samlaf
samlaf deleted the ceremony-drop-genesis-hash-override branch July 30, 2026 22:00
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