Skip to content

Commit 901fbd8

Browse files
committed
fix(reth-entrypoint): fail fast if authrpc JWT secret is missing
1 parent b52083f commit 901fbd8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reth/reth-entrypoint

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
set -eu
3-
3+
if [[ -z "${OP_NODE_L2_ENGINE_AUTH_RAW:-}" ]]; then
4+
echo "expected OP_NODE_L2_ENGINE_AUTH_RAW to be set for authrpc" 1>&2
5+
exit 1
6+
fi
47
IPC_PATH="/data/reth.ipc"
58
RETH_DATA_DIR=/data
69
RPC_PORT="${RPC_PORT:-8545}"

0 commit comments

Comments
 (0)