Skip to content

deployment: add sepolia-alpha native config override layer#14627

Open
nimrod-starkware wants to merge 1 commit into
nimrod/jsonnet/to-removefrom
nimrod/jsonnet/native-override-alpha
Open

deployment: add sepolia-alpha native config override layer#14627
nimrod-starkware wants to merge 1 commit into
nimrod/jsonnet/to-removefrom
nimrod/jsonnet/native-override-alpha

Conversation

@nimrod-starkware

Copy link
Copy Markdown
Contributor

Translate the sepolia-alpha config.sequencerConfig overrides (the public
common.yaml + services/*.yaml flat dotted keys) into the nested
sequencer_config.jsonnet override layer the native config builder consumes,
mirroring the existing sepolia-integration layer. Add a regression test
asserting the jsonnet layer stays in lockstep with the combined YAML overrides
(folded: #is_none applied, components dropped).

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

nimrod-starkware commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/to-remove branch from 08ded00 to f649b77 Compare June 28, 2026 08:19
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/native-override-alpha branch from da1af43 to 52a1181 Compare June 28, 2026 08:19
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/native-override-alpha branch from 52a1181 to cc2b14f Compare June 28, 2026 10:14
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/to-remove branch from f649b77 to 838974b Compare June 28, 2026 10:14
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/to-remove branch from 838974b to d5ded73 Compare June 28, 2026 10:30
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/native-override-alpha branch from cc2b14f to 2c6cc65 Compare June 28, 2026 10:30
@cursor

cursor Bot commented Jun 29, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Deployment-only sequencer config translation with no runtime code changes; risk is misconfiguration if YAML and jsonnet diverge, which the new test guards against.

Overview
Adds a hybrid native config overlay for the sepolia-alpha sequencer environment so the jsonnet-based config builder can supply the same overrides that today live in YAML config.sequencerConfig.

chain_params.jsonnet carries alpha-specific chain wiring: SN_SEPOLIA, alpha Sepolia feeder/recorder URLs, base-layer block thresholds and contract address, default staking committee, proof-archive bucket starkware-starknet-alpha, and the partial-block-hash checkpoint at block 86311.

replacers.jsonnet holds only non-default tuning: batcher n_concurrent_txs 8, bouncer state_diff_size 5000, and committer inner storage cache 1 GiB.

A new test_sepolia_alpha_native_matches_yaml parity test (same harness as sepolia-integration) locks the bucketed jsonnet to the folded YAML overrides so the two sources cannot drift.

Reviewed by Cursor Bugbot for commit becf17e. Bugbot is set up for automated code reviews on this repo. Configure here.

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