feat(tee-cli)!: authored network inputs under inputs/ - #81
Merged
Conversation
…p level A network directory now holds its three authored inputs under inputs/ (reth-genesis.json, summit-genesis-template.toml, measurements.json); `manifest assemble` derives the artifact set at the top level. Everything top-level is hash-pinned by network-manifest.json; everything under inputs/ is provenance. An input sharing its artifact's basename is the same format with derived fields filled at assemble time (registry storage into the genesis, eth_genesis_hash into the template); the raw measurements become measurement-policy.json because promotion is a format transformation. The same-name in-place reth-genesis.json write and the INPUT_* filename special-casing are gone — authored inputs and shipped artifacts can no longer collide structurally. assemble fails closed with a pointer to inputs/ when the authored inputs are missing. example-devnet is re-laid-out and re-assembled (--force, fresh network_id): its input genesis is refreshed from reth's committed dev.json — the old copy carried a stale registry runtime and a removed 0x…0003 predeploy — and the artifact set passes assemble + validate end-to-end with the real admission CLI and seismic-reth. tee/networks/README.md now leads with a rendered diagram (network-dir.excalidraw + network-dir.png) of how assemble derives the artifact set, which manifest field pins which artifact, and where the genesis ceremony picks up the committed template. Remaining "chain spec" prose is reworded to "genesis" across CLI help strings and docstrings. BREAKING: `assemble --dir` reads the authored inputs from inputs/; a directory laid out the old way fails with a pointer — move them in (summit-template.toml becomes inputs/summit-genesis-template.toml).
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.
A network directory now holds its three authored inputs under inputs/ (reth-genesis.json, summit-genesis-template.toml, measurements.json);
manifest assemblederives the artifact set at the top level. Everything top-level is hash-pinned by network-manifest.json; everything under inputs/ is provenance. An input sharing its artifact's basename is the same format with derived fields filled at assemble time (registry storage into the genesis, eth_genesis_hash into the template); the raw measurements become measurement-policy.json because promotion is a format transformation.The same-name in-place reth-genesis.json write and the INPUT_* filename special-casing are gone — authored inputs and shipped artifacts can no longer collide structurally. assemble fails closed with a pointer to inputs/ when the authored inputs are missing.
example-devnet is re-laid-out and re-assembled (--force, fresh network_id): its input genesis is refreshed from reth's committed dev.json — the old copy carried a stale registry runtime and a removed 0x…0003 predeploy — and the artifact set passes assemble + validate end-to-end with the real admission CLI and seismic-reth.
tee/networks/README.md now leads with a rendered diagram (network-dir.excalidraw + network-dir.png) of how assemble derives the artifact set, which manifest field pins which artifact, and where the genesis ceremony picks up the committed template. Remaining "chain spec" prose is reworded to "genesis" across CLI help strings and docstrings.
BREAKING:
assemble --dirreads the authored inputs from inputs/; a directory laid out the old way fails with a pointer — move them in (summit-template.toml becomes inputs/summit-genesis-template.toml).