Skip to content

fix: use ws:// for sepolia engine RPC to match mainnet#1110

Open
faisalnugroho wants to merge 1 commit into
base:mainfrom
faisalnugroho:fix/sepolia-engine-rpc-ws
Open

fix: use ws:// for sepolia engine RPC to match mainnet#1110
faisalnugroho wants to merge 1 commit into
base:mainfrom
faisalnugroho:fix/sepolia-engine-rpc-ws

Conversation

@faisalnugroho
Copy link
Copy Markdown

What

Updates .env.sepolia to use ws://execution:8551 for BASE_NODE_L2_ENGINE_RPC, matching the mainnet config.

Why

The mainnet env file already uses ws://:

BASE_NODE_L2_ENGINE_RPC=ws://execution:8551

But sepolia still has http://:

BASE_NODE_L2_ENGINE_RPC=http://execution:8551

This looks like it was missed when websocket support was added to the consensus client. The release notes for that change specifically mention fixing L2_ENGINE_RPC_URL websocket support, but the sepolia config wasn't updated alongside the mainnet one.

Impact

Sepolia node operators using the default .env.sepolia currently connect to the engine RPC over HTTP instead of WebSocket. While this works in most cases, it's inconsistent with the mainnet config and may behave differently under load since the consensus client was explicitly updated to support ws:// connections.

Fixes #1105

The mainnet env file uses ws://execution:8551 for BASE_NODE_L2_ENGINE_RPC,
but sepolia was still using http://. This was likely missed when websocket
support was added to the consensus client — the release notes mention fixing
L2_ENGINE_RPC_URL websocket support, but the sepolia config wasn't updated.

Sepolia operators using the default config currently get the http endpoint,
which may behave differently from the ws endpoint under load.

Refs base#1105
@cb-heimdall
Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@faisalnugroho
Copy link
Copy Markdown
Author

Hi! Following up on this config fix PR. This PR uses ws:// for the sepolia engine RPC endpoint to match the mainnet configuration. The current http:// scheme causes connection failures with some CL clients.

All CI checks pass (StepSecurity ✅). Would love to get your review when you have a moment. Thanks!

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.

.env.sepolia uses http:// for BASE_NODE_L2_ENGINE_RPC while .env.mainnet uses ws://

2 participants