diff --git a/config/fixturenet-optimism/run-op-node.sh b/config/fixturenet-optimism/run-op-node.sh index 3413897..12e1954 100755 --- a/config/fixturenet-optimism/run-op-node.sh +++ b/config/fixturenet-optimism/run-op-node.sh @@ -8,6 +8,11 @@ CERC_L1_RPC="${CERC_L1_RPC:-${DEFAULT_CERC_L1_RPC}}" CERC_L1_RPC_KIND="${CERC_L1_RPC_KIND:-${DEFAULT_CERC_L1_RPC_KIND}}" CERC_L1_BLOCK_TIME="${CERC_L1_BLOCK_TIME:-$DEFAULT_CERC_L1_BLOCK_TIME}" +log_level=INFO +if [ -n "$CERC_LOG_LEVEL" ]; then + log_level="$CERC_LOG_LEVEL" +fi + # Start op-node rollup_config=/l2-config/rollup.json seq_key=$(cat /l2-accounts/accounts.json | jq -r .SeqKey) @@ -30,4 +35,5 @@ exec op-node \ --l1.rpckind=$CERC_L1_RPC_KIND \ --l1.beacon=http://fixturenet-eth-lighthouse-1:8001 \ --l1.http-poll-interval="${CERC_L1_BLOCK_TIME}s" \ - --l1.epoch-poll-interval="$((CERC_L1_BLOCK_TIME * 32))s" + --l1.epoch-poll-interval="$((CERC_L1_BLOCK_TIME * 32))s" \ + --log.level="$log_level"