Skip to content

Commit

Permalink
Merge pull request #85 from ethereum-optimism/aj/new-goerli-download-url
Browse files Browse the repository at this point in the history
Update download URL for goerli bedrock data dir
  • Loading branch information
ajsutton authored Jul 17, 2023
2 parents 91ab5cf + 050b1a5 commit 4d6155b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/op-geth/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG branch=optimism
FROM us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:$branch

RUN apk add curl jq bash tar
RUN apk add curl jq bash tar zstd
RUN apk add --no-cache ca-certificates
RUN geth console --exec 'console.log(admin.nodeInfo.name)' --maxpeers=0 --nodiscover --dev 2>/dev/null | head -1 > /version.txt

Expand Down
4 changes: 2 additions & 2 deletions clients/op-geth/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ if [ "$HIVE_OP_GETH_HISTORICAL_RPC" != "" ]; then
EXTRA_FLAGS="$EXTRA_FLAGS --rollup.historicalrpc=$HIVE_OP_GETH_HISTORICAL_RPC"
fi
if [ "$HIVE_OP_GETH_USE_GOERLI_DATADIR" != "" ]; then
curl -L -o /goerli-bedrock.tar https://storage.googleapis.com/oplabs-goerli-data/goerli-bedrock.tar
curl -L -o /goerli-bedrock.tar.zst https://datadirs.optimism.io/goerli-bedrock.tar.zst
mkdir /goerli-bedrock
tar -xvf /goerli-bedrock.tar -C /goerli-bedrock
tar -xvf /goerli-bedrock.tar.zst -C /goerli-bedrock
GETH_DATA_DIR="/goerli-bedrock"
fi
set -u
Expand Down

0 comments on commit 4d6155b

Please sign in to comment.