op-geth needs state.scheme=hash for archive
This commit is contained in:
parent
14e4a725d6
commit
133e9d5da2
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user