From ac2545491504f87ff465ca1b0829f5e4dc77ba87 Mon Sep 17 00:00:00 2001 From: cventastic Date: Thu, 20 Oct 2022 10:28:34 +0200 Subject: [PATCH] fix bootstrap folders --- polygon/erigon/scripts/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polygon/erigon/scripts/entrypoint.sh b/polygon/erigon/scripts/entrypoint.sh index cdfbd451..4831378f 100644 --- a/polygon/erigon/scripts/entrypoint.sh +++ b/polygon/erigon/scripts/entrypoint.sh @@ -10,8 +10,8 @@ ERIGON_HOME=/datadir if [ "${BOOTSTRAP}" == 1 ] && [ -n "${SNAPSHOT_URL}" ] && [ ! -f "${ERIGON_HOME}/bootstrapped" ]; then echo "downloading snapshot from ${SNAPSHOT_URL}" - mkdir -p ${ERIGON_HOME}/bor/chaindata - wget --tries=0 -O - "${SNAPSHOT_URL}" | tar -xz -C ${ERIGON_HOME}/bor/chaindata && touch ${ERIGON_HOME}/bootstrapped + mkdir -p ${ERIGON_HOME} + wget --tries=0 -O - "${SNAPSHOT_URL}" | tar -xz -C ${ERIGON_HOME} && touch ${ERIGON_HOME}/bootstrapped fi READY=$(curl -s http://heimdalld:26657/status | jq '.result.sync_info.catching_up')