Skip to content

Commit

Permalink
fix: parameter doesn't exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomtana committed Dec 27, 2023
1 parent 96a0232 commit c95cc96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/start-op-geth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ done

if [ -z "${IS_CUSTOM_CHAIN+x}" ]; then
if [ "$NETWORK_NAME" == "op-mainnet" ] || [ "$NETWORK_NAME" == "op-goerli" ]; then
export EXTENDED_ARG="$EXTENDED_ARG --rollup.historicalrpc=${OP_GETH__HISTORICAL_RPC:-http://l2geth:8545} --op-network=$NETWORK_NAME"
export EXTENDED_ARG="--rollup.historicalrpc=${OP_GETH__HISTORICAL_RPC:-http://l2geth:8545} --op-network=$NETWORK_NAME"
else
export EXTENDED_ARG="$EXTENDED_ARG --op-network=$NETWORK_NAME"
export EXTENDED_ARG="--op-network=$NETWORK_NAME"
fi
fi

Expand Down
4 changes: 2 additions & 2 deletions scripts/start-op-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ while [ ! -f /shared/initialized.txt ]; do
done

if [ -n "${IS_CUSTOM_CHAIN+x}" ]; then
export EXTENDED_ARG="$EXTENDED_ARG --rollup.config=/chainconfig/rollup.json"
export EXTENDED_ARG="--rollup.config=/chainconfig/rollup.json"
else
export EXTENDED_ARG="$EXTENDED_ARG --network=$NETWORK_NAME --rollup.load-protocol-versions=true"
export EXTENDED_ARG="--network=$NETWORK_NAME --rollup.load-protocol-versions=true"
fi

# Start op-node.
Expand Down

0 comments on commit c95cc96

Please sign in to comment.