WIP: Upgrade Optimism for Granite fork #6

Draft
roysc wants to merge 13 commits from roysc/upgrade-to-granite into main
Showing only changes of commit 846655837f - Show all commits

View File

@ -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 \