We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b284f35 commit 81a4eb6Copy full SHA for 81a4eb6
nethermind/nethermind-entrypoint
@@ -4,7 +4,6 @@ set -eu
4
# Default configurations
5
NETHERMIND_DATA_DIR=${NETHERMIND_DATA_DIR:-/data}
6
NETHERMIND_LOG_LEVEL=${NETHERMIND_LOG_LEVEL:-Info}
7
-NETWORK=${NETWORK:-mainnet}
8
9
RPC_PORT="${RPC_PORT:-8545}"
10
WS_PORT="${WS_PORT:-8546}"
@@ -16,8 +15,8 @@ JWT_SECRET_FILE=${JWT_SECRET_FILE:-/tmp/jwt/jwtsecret}
16
15
ADDITIONAL_ARGS=""
17
18
# Check if required variables are set
19
-if [[ -z "$NETWORK" ]]; then
20
- echo "Expected NETWORK to be set" 1>&2
+if [[ -z "$OP_NODE_NETWORK" ]]; then
+ echo "Expected OP_NODE_NETWORK to be set" 1>&2
21
exit 1
22
fi
23
0 commit comments