Use state.scheme=hash #15

Merged
roysc merged 1 commits from fix-state-scheme into main 2024-07-10 01:27:59 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit d4bed8d6f5 - Show all commits

View File

@ -16,6 +16,8 @@ COPY --from=geth /usr/local/bin/geth /usr/local/bin/
COPY --from=fnetgen /opt/genesis /opt/testnet COPY --from=fnetgen /opt/genesis /opt/testnet
# Initialize the geth db with our config # 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"] ENTRYPOINT ["/opt/testnet/run.sh"]

View File

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