Skip to content

Commit

Permalink
fix: dynamic op mainnet archive node snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomtana committed Feb 19, 2024
1 parent 21b216b commit 0a5ff5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/init-bedrock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if [ "$NODE_TYPE" = "full" ]; then
fi
elif [ "$NODE_TYPE" = "archive" ]; then
if [ "$NETWORK_NAME" = "op-mainnet" ]; then
BEDROCK_TAR_DOWNLOAD="https://datadirs.optimism.io/latest"
BEDROCK_TAR_DOWNLOAD="$(curl -s https://datadirs.optimism.io/latest/ | grep -oE 'https://[^\"]+')"
fi
fi

Expand Down

0 comments on commit 0a5ff5a

Please sign in to comment.