Skip to content

Commit

Permalink
fix: start-op-erigon goerli
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed May 28, 2024
1 parent 4708d8d commit 84a659c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions docker/start-op-erigon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,6 @@ set -e

DATADIR=/data/erigon

if [ $NETWORK = "optimism-goerli" ]
then
if [ ! -d $DATADIR ]
then
# apk update && apk install tar
mkdir $DATADIR
wget "https://backup.goerli.op-erigon.testinprod.io" -O erigon.tar.gz
tar -zxvf erigon.tar.gz -C /tmp
mv /tmp/chaindata $DATADIR
fi
else
echo "Network not recognized. Available option is optimism-goerli. Use op-geth for base-goerli"
exit 1
fi

echo $JWT_SECRET > jwtsecret.txt

exec erigon \
Expand Down

0 comments on commit 84a659c

Please sign in to comment.