do not download the snapshot
This commit is contained in:
@@ -28,12 +28,12 @@ ADDITIONAL_ARGS=""
|
|||||||
|
|
||||||
#wget https://base-mainnet-archive-snapshots.s3.us-east-1.amazonaws.com/$(curl https://base-mainnet-archive-snapshots.s3.us-east-1.amazonaws.com/latest)
|
#wget https://base-mainnet-archive-snapshots.s3.us-east-1.amazonaws.com/$(curl https://base-mainnet-archive-snapshots.s3.us-east-1.amazonaws.com/latest)
|
||||||
|
|
||||||
if [ ! -f "${GETH_DATA_DIR}/bootstrapped" ];
|
#if [ ! -f "${GETH_DATA_DIR}/bootstrapped" ];
|
||||||
then
|
#then
|
||||||
echo "downloading snapshot"
|
# echo "downloading snapshot"
|
||||||
rm -rf $GETH_DATA_DIR/geth
|
# rm -rf $GETH_DATA_DIR/geth
|
||||||
wget --tries=0 -O - "https://base-mainnet-archive-snapshots.s3.us-east-1.amazonaws.com/$(curl https://base-mainnet-archive-snapshots.s3.us-east-1.amazonaws.com/latest)" | tar -xz --strip-components=1 -C ${GETH_DATA_DIR} && touch ${GETH_DATA_DIR}/bootstrapped
|
# wget --tries=0 -O - "https://base-mainnet-archive-snapshots.s3.us-east-1.amazonaws.com/$(curl https://base-mainnet-archive-snapshots.s3.us-east-1.amazonaws.com/latest)" | tar -xz --strip-components=1 -C ${GETH_DATA_DIR} && touch ${GETH_DATA_DIR}/bootstrapped
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"
|
echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user