⬆️ Updating ephemeral-validator #209
Merged
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.
Problem
ephemeral-validator is outdated
Solution
Update it
Greptile Overview
Updated On: 2025-10-08 14:00:30 UTC
Summary
This PR updates the ephemeral-validator dependency and configuration across the Bolt framework. The main changes involve updating the ephemeral-validator configuration template to use a new schema format required by the newer version of the tool.The most significant change is in the
ephemeral-validator.tomltemplate file, where the configuration format has been modernized from underscore-separated keys to hyphenated keys (millis_per_slot→millis-per-slot,frequency_millis→frequency-millis). Additionally, the remote configuration has been restructured from a simple string value to a nested object (remote = "url"→remote.url = "url").To support the dependency update, the
sysinfodependency in the rootCargo.tomlhas been pinned to an exact version (=0.36.1) instead of using a flexible constraint (^0). This ensures reproducible builds and prevents potential compatibility issues.The
.gitignorefile has been updated to exclude new test ledger directories created by the updated ephemeral-validator, which now generates directories with the-magicblocksuffix pattern. This change maintains consistency with existing ignore patterns for test artifacts.These changes are part of a tooling update that doesn't affect core functionality but ensures the development environment uses the latest ephemeral-validator with its updated configuration schema.
Important Files Changed
Changed Files
.gitignore-magicblocksuffixCargo.tomlcrates/bolt-cli/src/templates/ephemeral-validator.tomlConfidence score: 4/5