Skip to content

fix(caplin): use correct P2P ports for standalone mode#1340

Merged
barnabasbusa merged 1 commit intoethpandaops:feat/add-caplin-cl-launcherfrom
mh0lt:feat/caplin-fix-p2p-ports
Mar 23, 2026
Merged

fix(caplin): use correct P2P ports for standalone mode#1340
barnabasbusa merged 1 commit intoethpandaops:feat/add-caplin-cl-launcherfrom
mh0lt:feat/caplin-fix-p2p-ports

Conversation

@mh0lt
Copy link
Copy Markdown
Contributor

@mh0lt mh0lt commented Mar 23, 2026

Summary

Fixes the port configuration in the caplin launcher so it actually starts successfully in kurtosis.

  • Port 7777 is the sentinel gRPC server port (only used in split-process mode, not standalone caplin)
  • The actual libp2p P2P port is 4001 (--sentinel.tcp.port)
  • Uses --discovery.port and --discovery.addr=0.0.0.0 for UDP discovery binding
  • Renames BEACON_SENTINEL_PORT_NUMBEACON_P2P_PORT_NUM for clarity

Test results (kurtosis)

With cl_type: caplin and el_type: erigon:

  • Sync check — pass
  • Block proposal check — pass
  • All-opcodes transaction test — pass
  • Blob transaction test — pass
  • Stability check — pending (blocked on finalization, known upstream Caplin issue)
  • Transaction test — running (blocked on finalization)

Targets: #1339

The sentinel gRPC port (7777) is only used in split-process mode, not
standalone caplin. The actual libp2p P2P port is 4001 (--sentinel.tcp.port).

- Change port from 7777 to 4001
- Use --sentinel.tcp.port and --discovery.port instead of --sentinel.port
- Use --discovery.addr=0.0.0.0 for binding (replaces --sentinel.addr)
- Rename BEACON_SENTINEL_PORT_NUM → BEACON_P2P_PORT_NUM

Tested with kurtosis: sync, block proposal, all-opcodes, and blob
transaction tests all pass.
@barnabasbusa barnabasbusa merged commit 9b3fb8c into ethpandaops:feat/add-caplin-cl-launcher Mar 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants