diff --git a/geth/docker-entrypoint.sh b/geth/docker-entrypoint.sh index 3984bd7e..b5aeb10b 100755 --- a/geth/docker-entrypoint.sh +++ b/geth/docker-entrypoint.sh @@ -47,7 +47,7 @@ if [[ "${NETWORK}" =~ ^https?:// ]]; then set +e __network="--bootnodes=${bootnodes} --networkid=${networkid} --http.api=eth,net,web3,debug,admin,txpool" if [ ! -f /var/lib/goethereum/setupdone ]; then - geth init --datadir /var/lib/goethereum "/var/lib/goethereum/testnet/${config_dir}/genesis.json" + geth init --state.scheme path --datadir /var/lib/goethereum "/var/lib/goethereum/testnet/${config_dir}/genesis.json" touch /var/lib/goethereum/setupdone fi else