Bug 1: Sepolia uses mainnet bootnodes
.env.mainnet and .env.sepolia contain identical BASE_NODE_P2P_BOOTNODES values. Sepolia testnet nodes bootstrap against mainnet peers, which causes inefficient peer discovery or failure to find valid Sepolia peers.
# .env.mainnet
BASE_NODE_P2P_BOOTNODES=enr:-J24QNz9lbrKbN4iSmmjtnr7SjUMk4zB7f1krHZcTZx-...
# .env.sepolia (identical should be different)
BASE_NODE_P2P_BOOTNODES=enr:-J24QNz9lbrKbN4iSmmjtnr7SjUMk4zB7f1krHZcTZx-...
Expected: Sepolia should have its own dedicated bootnode ENR records.
Bug 2: Engine RPC protocol inconsistency
.env.mainnet uses WebSocket:
BASE_NODE_L2_ENGINE_RPC=ws://execution:8551
.env.sepolia uses HTTP:
BASE_NODE_L2_ENGINE_RPC=http://execution:8551/
The consensus-entrypoint line 44 does a ws → http substitution for the health check, so the mainnet config works. But the inconsistency between environments is confusing and error-prone when operators copy configs between networks.
Impact
- Node operators running Sepolia may fail to discover peers or connect to wrong network peers
- Copying config between environments produces unexpected behavior due to protocol mismatch
Bug 1: Sepolia uses mainnet bootnodes
.env.mainnetand.env.sepoliacontain identicalBASE_NODE_P2P_BOOTNODESvalues. Sepolia testnet nodes bootstrap against mainnet peers, which causes inefficient peer discovery or failure to find valid Sepolia peers.Expected: Sepolia should have its own dedicated bootnode ENR records.
Bug 2: Engine RPC protocol inconsistency
.env.mainnetuses WebSocket:BASE_NODE_L2_ENGINE_RPC=ws://execution:8551
.env.sepoliauses HTTP:BASE_NODE_L2_ENGINE_RPC=http://execution:8551/
The
consensus-entrypointline 44 does aws→httpsubstitution for the health check, so the mainnet config works. But the inconsistency between environments is confusing and error-prone when operators copy configs between networks.Impact