op-geth needs state.scheme=hash for archive
This commit is contained in:
parent
5ac0518c27
commit
846655837f
@ -26,7 +26,7 @@ fi
|
|||||||
# Initialize geth from our generated L2 genesis file (if not already initialized)
|
# Initialize geth from our generated L2 genesis file (if not already initialized)
|
||||||
data_dir="/datadir"
|
data_dir="/datadir"
|
||||||
if [ ! -d "$datadir/geth" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Start op-geth
|
# Start op-geth
|
||||||
@ -45,6 +45,7 @@ geth \
|
|||||||
--ws.origins="*" \
|
--ws.origins="*" \
|
||||||
--ws.api=debug,eth,txpool,net,engine \
|
--ws.api=debug,eth,txpool,net,engine \
|
||||||
--syncmode=full \
|
--syncmode=full \
|
||||||
|
--state.scheme=hash \
|
||||||
--gcmode=archive \
|
--gcmode=archive \
|
||||||
--nodiscover \
|
--nodiscover \
|
||||||
--maxpeers=0 \
|
--maxpeers=0 \
|
||||||
|
Loading…
Reference in New Issue
Block a user