Skip to content

Commit

Permalink
Dockerfile, entrypoint: deprecate RPC_NODE environment (#333)
Browse files Browse the repository at this point in the history
Currently, we prefer passing the ronin params through RONIN_PARAMS environment.
Using RPC_NODE environment makes some ronin params take the default value which
overwrites the params passed in RONIN_PARAMS. This commit removes use of
RPC_NODE environment.
  • Loading branch information
minh-bq authored Aug 1, 2023
1 parent c0d708a commit 5402fde
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ ENV VERBOSITY 3
ENV SYNC_MODE 'snap'
ENV NETWORK_ID '2021'
ENV ETHSTATS_ENDPOINT ''
ENV RPC_NODE ''
ENV NODEKEY ''
ENV FORCE_INIT 'true'
ENV RONIN_PARAMS ''
Expand Down
5 changes: 0 additions & 5 deletions docker/chainnode/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ if [[ ! -z $SYNC_MODE ]]; then
syncmode="$SYNC_MODE"
fi

# debug mode - enable rpc and disable local transactions
if [[ ! -z $RPC_NODE ]]; then
params="$params --gcmode archive --http.api eth,net,web3,debug,consortium --txpool.nolocals"
fi

# ethstats
if [[ ! -z $ETHSTATS_ENDPOINT ]]; then
params="$params --ethstats $ETHSTATS_ENDPOINT"
Expand Down

0 comments on commit 5402fde

Please sign in to comment.