Skip to content

Commit

Permalink
fix: bsc node config v1.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladinlight committed Dec 8, 2023
1 parent 2d882b3 commit 8afa1a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions node/coinstacks/bnbsmartchain/daemon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ RUN wget https://github.com/bnb-chain/bsc/releases/download/${VERSION}/mainnet.z
# Remove LogConfig from included config.toml to keep logging directed at stdout
RUN sed -i -e '/\[Node.LogConfig\]/,+5d' config.toml

# Remove HTTPHost from included config.toml to allow value to be specified via `--http.addr` cli flag
RUN sed -i '/HTTPHost = "localhost"/d' config.toml

EXPOSE 8545 8546 30303 30303/udp

ENTRYPOINT ["geth"]
2 changes: 1 addition & 1 deletion node/coinstacks/bnbsmartchain/daemon/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ start() {
--maxpeers 200 \
--rpc.allow-unprotected-txs \
--txpool.pricelimit 1 \
--txlookuplimit 0 \
--history.transactions 0 \
--cache 8000 \
--nat none &
PID="$!"
Expand Down

0 comments on commit 8afa1a3

Please sign in to comment.