From 287468b7c0e2f7014971cf643a7b431c559a893d Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 3 Apr 2023 14:59:31 -0500 Subject: [PATCH] Update run script to support COPY and WebSockets. (#275) Former-commit-id: 4da69ebf4c8c3b838e776d086b9d57444b4d6d48 --- .../container-build/cerc-fixturenet-eth-geth/run-el.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/data/container-build/cerc-fixturenet-eth-geth/run-el.sh b/app/data/container-build/cerc-fixturenet-eth-geth/run-el.sh index 3aa0eaf..12e5946 100755 --- a/app/data/container-build/cerc-fixturenet-eth-geth/run-el.sh +++ b/app/data/container-build/cerc-fixturenet-eth-geth/run-el.sh @@ -68,6 +68,7 @@ else --statediff.db.port=$CERC_STATEDIFF_DB_PORT \ --statediff.db.user=$CERC_STATEDIFF_DB_USER \ --statediff.db.logstatements=${CERC_STATEDIFF_DB_LOG_STATEMENTS:-false} \ + --statediff.db.copyfrom=${CERC_STATEDIFF_DB_COPY_FROM:-true} \ --statediff.waitforsync=true \ --statediff.writing=true" fi @@ -78,11 +79,16 @@ else --http \ --http.addr="0.0.0.0" \ --http.vhosts="*" \ - --http.api="eth,web3,net,admin,personal,debug,statediff" \ + --http.api="${CERC_GETH_HTTP_APIS:-eth,web3,net,admin,personal,debug,statediff}" \ --http.corsdomain="*" \ --authrpc.addr="0.0.0.0" \ --authrpc.vhosts="*" \ --authrpc.jwtsecret="/opt/testnet/build/el/jwtsecret" \ + --ws \ + --ws.addr="0.0.0.0" \ + --ws.origins="*" \ + --ws.api="${CERC_GETH_WS_APIS:-eth,web3,net,admin,personal,debug,statediff}" \ + --http.corsdomain="*" \ --networkid="${NETWORK_ID}" \ --netrestrict="${NETRESTRICT}" \ --gcmode archive \