update polygon archive

This commit is contained in:
Sebastian
2022-12-04 14:04:04 +01:00
parent 7611d4583c
commit fd1bb7ddff
3 changed files with 8 additions and 10 deletions

View File

@@ -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"

View File

@@ -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
- SNAPSHOT_URL=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/heimdall-snapshot-2022-11-30.tar.gz
- BOOTSTRAP=1
- "ETH1_RPC_URL=http://geth-mainnet:8545/"
- "ETH1_RPC_URL=https://cloudflare-eth.com"
restart: unless-stopped
networks:
- chains
@@ -35,7 +34,7 @@ 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"
@@ -43,7 +42,6 @@ services:
- "1317"
depends_on:
- heimdalld
- geth-mainnet
restart: unless-stopped
networks:
- chains

View File

@@ -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