Use state.scheme=hash (#15)
All checks were successful
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 18m34s
All checks were successful
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (push) Successful in 18m34s
As of [Geth 1.14](https://github.com/ethereum/go-ethereum/releases/tag/v1.14.0), state storage defaults to `--state.scheme=path` mode for new DBs. This doesn't yet support archiving, so for now we need to explicitly use the old `hash` scheme. Reviewed-on: #15
This commit is contained in:
parent
e1faeb9eca
commit
f20f91422b
@ -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"]
|
||||
|
@ -75,6 +75,7 @@ else
|
||||
--http.corsdomain="*" \
|
||||
--networkid="${NETWORK_ID}" \
|
||||
--netrestrict="${NETRESTRICT}" \
|
||||
--state.scheme hash \
|
||||
--gcmode archive \
|
||||
--txlookuplimit=0 \
|
||||
--cache.preimages \
|
||||
|
Loading…
Reference in New Issue
Block a user