geth state.scheme=hash
All checks were successful
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 22m34s

This commit is contained in:
Roy Crihfield 2024-06-19 01:06:03 +08:00
parent af0c6a9143
commit d4bed8d6f5
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,8 @@ COPY --from=geth /usr/local/bin/geth /usr/local/bin/
COPY --from=fnetgen /opt/genesis /opt/testnet
# Initialize the geth db with our config
RUN geth --datadir ~/ethdata init /opt/testnet/build/el/geth.json && rm -f ~/ethdata/geth/nodekey
RUN geth --datadir ~/ethdata --state.scheme hash \
init /opt/testnet/build/el/geth.json && \
rm -f ~/ethdata/geth/nodekey
ENTRYPOINT ["/opt/testnet/run.sh"]

View File

@ -75,6 +75,7 @@ else
--http.corsdomain="*" \
--networkid="${NETWORK_ID}" \
--netrestrict="${NETRESTRICT}" \
--state.scheme hash \
--gcmode archive \
--txlookuplimit=0 \
--cache.preimages \