From 901fbd8831b94bfc0ff360df36a94b34b8b3d7e8 Mon Sep 17 00:00:00 2001 From: Olexandr88 Date: Thu, 18 Dec 2025 16:36:24 +0200 Subject: [PATCH] fix(reth-entrypoint): fail fast if authrpc JWT secret is missing --- reth/reth-entrypoint | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reth/reth-entrypoint b/reth/reth-entrypoint index 59d533f7..de319ac1 100755 --- a/reth/reth-entrypoint +++ b/reth/reth-entrypoint @@ -1,6 +1,9 @@ #!/bin/bash set -eu - +if [[ -z "${OP_NODE_L2_ENGINE_AUTH_RAW:-}" ]]; then + echo "expected OP_NODE_L2_ENGINE_AUTH_RAW to be set for authrpc" 1>&2 + exit 1 +fi IPC_PATH="/data/reth.ipc" RETH_DATA_DIR=/data RPC_PORT="${RPC_PORT:-8545}"