Skip to content

fix: allow silver on the minimal preset - #1543

Open
barnabasbusa wants to merge 2 commits into
mainfrom
bbusa/silver-minimal-preset
Open

barnabasbusa wants to merge 2 commits into
mainfrom
bbusa/silver-minimal-preset

Conversation

@barnabasbusa

Copy link
Copy Markdown
Collaborator

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 -minimal silver 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 -minimal image is needed instead. Checked with a minimal-preset enclave running ethpandaops/silver:pq-devnet-1-minimal next to the other seven clients.

@barnabasbusa
barnabasbusa enabled auto-merge (squash) November 27, 2026 11:34
@redpandabot

This comment has been minimized.

Comment thread README.md Resolved
Signed-off-by: Barnabas Busa <barnabas.busa@ethereum.org>

@redpandabot redpandabot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Comment thread README.md
# 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants