Repository navigation
fix: allow silver on the minimal preset - #1543
barnabasbusa wants to merge 2 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Barnabas Busa <barnabas.busa@ethereum.org>
There was a problem hiding this comment.
Summary
The PR drops silver's hard mainnet-only guard from get_beacon_config and touches the README's silver note. Removing the guard matches how the other launchers handle presets, but the default-image path still has no silver entry for the minimal preset, so a plain preset: minimal + cl_type: silver run still fails (now with a confusing parse-time error), and the README edit leaves a dangling comment fragment instead of the promised -minimal guidance.
Issues
- 🟡
src/cl/silver/silver_launcher.star:60— minimal preset still fails for silver with the default image — see the thread on that line - 🟢
README.md:378— silver note is now a dangling fragment — see the thread on that line
Reviewed @ 2135ea0d
A red panda is classified as a carnivore but eats ~95% bamboo. Legacy interfaces are hard to deprecate.
| if network_params.preset != "mainnet": | ||
| fail("silver supports only the mainnet preset") | ||
|
|
||
| log_level = input_parser.get_client_log_level_or_default( |
There was a problem hiding this comment.
🟡 minimal preset still fails for silver with the default image
DEFAULT_CL_IMAGES_MINIMAL (src/package_io/input_parser.star:33) has no silver entry, so with preset: minimal and a blank cl_image the lookup at src/package_io/input_parser.star:1503 yields "" and fails at 1512 with "silver received an empty image name and we don't have a default for it" — removing the guard alone does not let a default-image silver participant start on minimal. Add a silver -minimal default (as every other client has) or keep the guard as a clear error.
| # Valid values are nimbus, lighthouse, lodestar, teku, prysm, grandine, silver, and ethlambda | ||
| # silver supports only the mainnet preset, has no validator client of its own (defaults to a lighthouse VC) | ||
|
|
||
| # and needs `kurtosis run --privileged` for io_uring |
There was a problem hiding this comment.
🟢 silver note is now a dangling fragment
The last commit replaced the whole silver line with a single space (README.md:377), leaving line 378 as the orphaned sentence "# and needs kurtosis run --privileged for io_uring", and the -minimal-image note the PR description promises is gone entirely. Fold the --privileged requirement into a complete sentence and keep the minimal-preset guidance.
The silver launcher failed every minimal-preset run with
silver supports only the mainnet preset. Silver's preset is a compile-time feature, and the image builder now publishes-minimalsilver images for every tracked branch (eth-client-docker-image-builder#467), so the guard only blocks working setups; it goes, and the README note now says a-minimalimage is needed instead. Checked with a minimal-preset enclave runningethpandaops/silver:pq-devnet-1-minimalnext to the other seven clients.