feat: add Caplin (Erigon embedded CL) as a supported consensus launcher#1339
Merged
barnabasbusa merged 10 commits intomainfrom Mar 26, 2026
Merged
feat: add Caplin (Erigon embedded CL) as a supported consensus launcher#1339barnabasbusa merged 10 commits intomainfrom
barnabasbusa merged 10 commits intomainfrom
Conversation
Caplin is Erigon's embedded consensus layer client that runs as a standalone binary connecting to an Erigon EL node via the Engine API. This adds it as a supported cl_type in ethereum-package. Closes #1337 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add caplin-basic.yaml test with erigon+caplin and geth+lighthouse participants. Add caplin to erigon-all.yaml to test alongside other CL clients. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6 tasks
Fix caplin launcher flags based on actual caplin --help output: - --execution.addr -> --engine.api + --engine.api.host/port - --execution.jwtSecret -> --engine.api.jwtsecret - --beacon.api takes endpoint list, not boolean - --beacon-cfg -> --custom-config - --genesis-ssz -> --custom-genesis-state - --checkpoint-sync-url -> --caplin.checkpoint-sync-url - Add User(uid=0, gid=0) for /data directory permissions - Use pprof for metrics endpoint Add caplin participant to mix-with-tools.yaml (per-PR CI), mix-with-tools-minimal.yaml, and mix.yaml test configs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
parithosh
approved these changes
Mar 26, 2026
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.
Summary
caplinas a new supportedcl_typefor running Erigon's embedded consensus layer clientcaplin) from the same Docker image as Erigon, connecting via Engine API with JWT authvc_typedefaults tolighthousewhen not specifiedUsage example
Changes
src/package_io/constants.star: AddedcaplintoCL_TYPEsrc/package_io/input_parser.star: Added default images, VC type defaults to lighthouse for caplinsrc/cl/caplin/caplin_launcher.star: New launcher following existing patterns (consensoor/lighthouse)src/cl/cl_launcher.star: Registered caplin in the dispatcherCloses #1337
Test plan
kurtosis run . --args-filewith a config usingcl_type: caplinandel_type: erigon🤖 Generated with Claude Code