From 8afa1a39172b8cd77b946af5dc5ac2cd28f9d536 Mon Sep 17 00:00:00 2001 From: kaladinlight <35275952+kaladinlight@users.noreply.github.com> Date: Fri, 8 Dec 2023 15:35:13 -0700 Subject: [PATCH] fix: bsc node config v1.3.x --- node/coinstacks/bnbsmartchain/daemon/Dockerfile | 3 +++ node/coinstacks/bnbsmartchain/daemon/init.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/node/coinstacks/bnbsmartchain/daemon/Dockerfile b/node/coinstacks/bnbsmartchain/daemon/Dockerfile index 987bd4180..eabf23c24 100644 --- a/node/coinstacks/bnbsmartchain/daemon/Dockerfile +++ b/node/coinstacks/bnbsmartchain/daemon/Dockerfile @@ -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"] \ No newline at end of file diff --git a/node/coinstacks/bnbsmartchain/daemon/init.sh b/node/coinstacks/bnbsmartchain/daemon/init.sh index 6864a4455..79e8fd99c 100755 --- a/node/coinstacks/bnbsmartchain/daemon/init.sh +++ b/node/coinstacks/bnbsmartchain/daemon/init.sh @@ -78,7 +78,7 @@ start() { --maxpeers 200 \ --rpc.allow-unprotected-txs \ --txpool.pricelimit 1 \ - --txlookuplimit 0 \ + --history.transactions 0 \ --cache 8000 \ --nat none & PID="$!"