From 51cfb62b09a393f131629d325de1b13b1510bdac Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sat, 27 Jan 2024 04:02:37 +0100 Subject: [PATCH] do not download the snapshot --- base/geth-entrypoint | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/base/geth-entrypoint b/base/geth-entrypoint index 9d8a8d00..1b6c2b75 100755 --- a/base/geth-entrypoint +++ b/base/geth-entrypoint @@ -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) -if [ ! -f "${GETH_DATA_DIR}/bootstrapped" ]; -then - echo "downloading snapshot" - 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 -fi +#if [ ! -f "${GETH_DATA_DIR}/bootstrapped" ]; +#then +# echo "downloading snapshot" +# 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 +#fi echo "$OP_NODE_L2_ENGINE_AUTH_RAW" > "$OP_NODE_L2_ENGINE_AUTH"