From 846655837fe724a699c9612728774bd939286387 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Fri, 23 Aug 2024 00:07:11 -0500 Subject: [PATCH] op-geth needs state.scheme=hash for archive --- config/fixturenet-optimism/run-op-geth.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/fixturenet-optimism/run-op-geth.sh b/config/fixturenet-optimism/run-op-geth.sh index 9b06ced..d349797 100755 --- a/config/fixturenet-optimism/run-op-geth.sh +++ b/config/fixturenet-optimism/run-op-geth.sh @@ -26,7 +26,7 @@ fi # Initialize geth from our generated L2 genesis file (if not already initialized) data_dir="/datadir" if [ ! -d "$datadir/geth" ]; then - geth init --datadir=$data_dir $l2_genesis_file + geth init --datadir=$data_dir --state.scheme=hash $l2_genesis_file fi # Start op-geth @@ -45,6 +45,7 @@ geth \ --ws.origins="*" \ --ws.api=debug,eth,txpool,net,engine \ --syncmode=full \ + --state.scheme=hash \ --gcmode=archive \ --nodiscover \ --maxpeers=0 \