feat(config): advanced configuration management and migration suite#2092
Open
IvanBelyakoff wants to merge 10 commits intozkevmfrom
Open
feat(config): advanced configuration management and migration suite#2092IvanBelyakoff wants to merge 10 commits intozkevmfrom
IvanBelyakoff wants to merge 10 commits intozkevmfrom
Conversation
776458f to
cfffc40
Compare
cfffc40 to
d4e6305
Compare
The test file was committed without the implementation, causing CI compilation failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Description
This PR introduces a comprehensive
configmanagement suite forcdk-erigonto address configuration drift, facilitate safe SMT-to-PMT migrations, and provide deep compliance audits.Key Features
config doctor: Holistic diagnostics comparing YAML configuration against database state and build defaults. Features height-aware SMT-to-PMT safety checks to prevent false positives during 'Shadow Phase' migrations.config verify-evm: An integrity auditor that scans the database for fork transitions (Shanghai, Cancun, Prague, etc.) and verifies block headers and hash integrity.config migrate: Automated upgrade path that renames deprecated flags, applies standardized profiles (Type-1, Sovereign, etc.), and creates timestamped backups (.bak) for safety.config list-migrations: Discovers valid upgrade pathways based on the physical state of the MDBX database.scripts/test_prod_configs.sh, a CI-ready tool to validate production configurations across fleets without local path dependencies.Technical Improvements
v2.61throughv2.65.Verification Results
A full audit was conducted against the production fleet. The tools successfully identified:
initial-commitment,l1-cache-*).Verified with successful builds and validated against actual rollup configurations.