From fd1bb7ddff9e5e43bcf7d419c8a9686d7c9d00d2 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sun, 4 Dec 2022 14:04:04 +0100 Subject: [PATCH] update polygon archive --- erigon-polygon.yml | 2 +- polygon-base.yml | 12 +++++------- polygon/erigon/scripts/entrypoint.sh | 4 ++-- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/erigon-polygon.yml b/erigon-polygon.yml index 86ea4c59..b0c0f64a 100644 --- a/erigon-polygon.yml +++ b/erigon-polygon.yml @@ -8,7 +8,7 @@ services: context: ./polygon/erigon dockerfile: Dockerfile environment: - - SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/erigon-archive-snapshot-2022-10-12.tar.gz + - SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/erigon-archive-snapshot-2022-11-17.tar.gz - BOOTSTRAP=1 volumes: - "polygon-archive_data:/datadir" diff --git a/polygon-base.yml b/polygon-base.yml index ac20ede9..978de6f5 100644 --- a/polygon-base.yml +++ b/polygon-base.yml @@ -22,12 +22,11 @@ services: - "127.0.0.1:26657:26657" depends_on: - rabbitmq - - geth-mainnet environment: - MONIKER=StakeSquid - - SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/heimdall-snapshot-2022-10-17.tar.gz - - BOOTSTRAP=1 - - "ETH1_RPC_URL=http://geth-mainnet:8545/" + - SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/heimdall-snapshot-2022-11-30.tar.gz + - BOOTSTRAP=1 + - "ETH1_RPC_URL=https://cloudflare-eth.com" restart: unless-stopped networks: - chains @@ -35,15 +34,14 @@ services: heimdallr: environment: - REST_SERVER=1 - - "ETH1_RPC_URL=http://geth-mainnet:8545/" + - "ETH1_RPC_URL=https://cloudflare-eth.com" build: *ref_0 volumes: - - "heimdall_data:/root/.heimdalld" + - "heimdall_data:/root/.heimdalld" expose: - "1317" depends_on: - heimdalld - - geth-mainnet restart: unless-stopped networks: - chains diff --git a/polygon/erigon/scripts/entrypoint.sh b/polygon/erigon/scripts/entrypoint.sh index 4831378f..ba4ae92a 100644 --- a/polygon/erigon/scripts/entrypoint.sh +++ b/polygon/erigon/scripts/entrypoint.sh @@ -5,7 +5,7 @@ set -e # Set Bor Home Directory ERIGON_HOME=/datadir - +HEIMDALL_RPC=heimdall:26657 if [ "${BOOTSTRAP}" == 1 ] && [ -n "${SNAPSHOT_URL}" ] && [ ! -f "${ERIGON_HOME}/bootstrapped" ]; then @@ -34,4 +34,4 @@ exec erigon \ --snapshots="true" \ --torrent.upload.rate="1250mb" --torrent.download.rate="1250mb" \ --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 \ - --pprof --pprof.addr=0.0.0.0 --pprof.port=6061 \ No newline at end of file + --pprof --pprof.addr=0.0.0.0 --pprof.port=6061