From c51064af1779b21d0848aba038ca48d127fedd0e Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 27 Jun 2024 20:51:05 +0800 Subject: [PATCH] plugeth state.scheme = hash --- .../cerc-fixturenet-plugeth-plugeth/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stack-orchestrator/container-build/cerc-fixturenet-plugeth-plugeth/Dockerfile b/stack-orchestrator/container-build/cerc-fixturenet-plugeth-plugeth/Dockerfile index 1ca8e1f..212e35d 100644 --- a/stack-orchestrator/container-build/cerc-fixturenet-plugeth-plugeth/Dockerfile +++ b/stack-orchestrator/container-build/cerc-fixturenet-plugeth-plugeth/Dockerfile @@ -20,6 +20,8 @@ COPY --from=fnetgen /opt/genesis /opt/testnet COPY --from=statediff /usr/local/lib/statediff.so /usr/local/lib/plugeth/ # 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"]