Genesis sync

Start your Axelar node and download the blockchain from scratch.

đź’ˇ

Tip: Looking for instructions using the old script node.sh? See here.

đź’ˇ

Tip: These instructions synchronize your Axelar node from scratch using the Axelar peer-to-peer network. You can synchronize your node more quickly by downloading a recent snapshot of the blockchain as per Quick sync.

Configure your system as per Node configuration except specify the correct version of axelard according to your network and position in the upgrade path:

Core VersionStart HeightUpgrade Height
v0.10.70384000
v0.13.63840011060850
v0.14.110608511263450
v0.15.011052501336350
v0.16.113363501889000
v0.17.318890002471750
v0.18.324717502472290
v0.19.424722903331350
v0.20.033313503643500
v0.21.136435003644000
v0.24.036440003852250
v0.26.538522504984950
v0.28.049849505030000
v0.29.150300005853000
v0.31.258530006895400
v0.33.268954009151750
v0.34.3915175011795700
v0.35.51179570014231100
v1.0.51423110015890800
v1.1.215890800N/A

First, you have to change directory to “axelarate-community” repository.

Terminal window
cd axelarate-community

To run setup-node.sh you have to specify the network (mainnet, testnet) and the axelard core version you want to use. You must follow the upgrade path as specified in the table above (it is different for each network). setup-node.sh will download axelard binary version you specified in “$AXELARD_HOME/bin” folder and create a symbolic link.

Terminal window
-rwxr-xr-x 1 kalid staff 70832530 Jul 6 11:04 axelard-v0.13.6
lrwxr-xr-x 1 kalid staff 48 Jul 6 11:04 axelard -> /Users/kalid/.axelar_testnet/bin/axelard-v0.13.6

Terminal window
./scripts/setup-node.sh -n mainnet -a v0.10.7

Start your node with the newly configured axelard version:

Terminal window
$AXELARD_HOME/bin/axelard start --home $AXELARD_HOME >> $AXELARD_HOME/logs/axelard.log 2>&1 &

Your Axelar node will resume downloading the blockchain.

After your blockchain has reached UPGRADE_HEIGHT you will see a panic in the logs like

panic: UPGRADE {NAME} NEEDED at height: {UPGRADE_HEIGHT}:
Terminal window
tail -f $AXELARD_HOME/logs/axelard.log

Repeat this process for each entry in the upgrade path when the “panic” message appears in the logs.

Edit on GitHub