Skip to content

Commit

Permalink
updated heimdall seeds and external-address
Browse files Browse the repository at this point in the history
  • Loading branch information
feshchenkod committed Mar 18, 2022
1 parent 0e7007f commit d951f2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions bor/docker-entrypoint-heimdalld.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ if [ ! -f /var/lib/heimdall/config/config.toml ]; then
wget -q -O - "${HEIMDALL_SNAPSHOT_FILE}" | tar xzvf - -C /var/lib/heimdall/data/
fi
wget -O /var/lib/heimdall/config/genesis.json ${HEIMDALL_GENESIS_URL} -P /var/lib/heimdall/config
SERVER_IP=$(curl -s ifconfig.me)
sed -i "/seeds =/c\seeds = \"${HEIMDALL_SEEDS}\"" /var/lib/heimdall/config/config.toml
sed -i "/external_address = \".*\"/c\external_address = \"${SERVER_IP}:26656\"" /var/lib/heimdall/config/config.toml
sed -i '/26657/c\laddr = "tcp://0.0.0.0:26657"' /var/lib/heimdall/config/config.toml
sed -i "/bor_rpc_url/c\bor_rpc_url = \"${HEIMDALL_BOR_RPC_URL}\"" /var/lib/heimdall/config/heimdall-config.toml
sed -i "/eth_rpc_url/c\eth_rpc_url = \"${HEIMDALL_ETH_RPC_URL}\"" /var/lib/heimdall/config/heimdall-config.toml
Expand Down
6 changes: 3 additions & 3 deletions bor/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ TX_LOCAL_ADDR=0x0000000000000000000000000000000000000000
# This will auto-adjust down depending on system memory
BOR_CACHE=22000
# Please see https://snapshots.matic.today/
HEIMDALL_SNAPSHOT_FILE=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/heimdall-snapshot-2022-02-27.tar.gz
BOR_FULL_NODE_SNAPSHOT_FILE=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/bor-pruned-snapshot-2022-02-26.tar.gz
HEIMDALL_SNAPSHOT_FILE=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/heimdall-snapshot-pre-v0.2.8hardfork2022-03-17.tar.gz
BOR_FULL_NODE_SNAPSHOT_FILE=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/bor-pruned-snapshot-2022-03-13.tar.gz
BOR_ARCHIVE_NODE_SNAPSHOT_FILE=https://matic-blockchain-snapshots.s3-accelerate.amazonaws.com/matic-mainnet/bor-archive-node-snapshot-2022-02-14.tar.gz

# These likely do not need to be adjusted
HEIMDALL_CHAIN_ID=heimdall-137
HEIMDALL_GENESIS_URL=https://raw.githubusercontent.com/maticnetwork/launch/master/mainnet-v1/sentry/sentry/heimdall/config/genesis.json
HEIMDALL_SEEDS=[email protected]:26656,[email protected]:26656,2eadba4be3ce47ac8db0a3538cb923b57b41c927@35.199.4.13:26656,[email protected]:26656,[email protected].221.221:26656,41f9896eb6a62ec68becbf1d4925ececdb726eb7@13.53.160.124:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656
HEIMDALL_SEEDS=[email protected]:26656,3b23b20017a6f348d329c102ddc0088f0a10a444@35.221.13.28:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656
HEIMDALL_BOR_RPC_URL=http://bor:8545
HEIMDALL_START=https://raw.githubusercontent.com/maticnetwork/launch/master/docker/heimdall-startup.sh
BOR_SETUP=https://raw.githubusercontent.com/maticnetwork/launch/master/mainnet-v1/sentry/sentry/bor/setup.sh
Expand Down

0 comments on commit d951f2c

Please sign in to comment.