Docker - Upgrading Your Node

Pundi AIFX Network Upgrades

For more information on past upgrades and instructions, refer to Upgrade Versions.

You may refer to this Countdown Timerarrow-up-right which will countdown the time till the upgrade height.

Upgrade steps

  1. Ensure you have stopped the docker container to stop node❗

docker stop fxcore
docker rm fxcore

*fxcore is a container name, change the container name according to your setup

2. Pull latest docker images

docker pull ghcr.io/PundiAI/fx-core:8.6.1

3. Update config files

docker run --rm -v $HOME/.fxcore:/root/.fxcore ghcr.io/PundiAI/fx-core:8.6.1 config update

4. Restart docker container to start the node:

docker run --name fxcore -d --restart=always -p 0.0.0.0:26656:26656 -p 127.0.0.1:26657:26657 -p 127.0.0.1:1317:1317 -p 127.0.0.1:26660:26660 -p 127.0.0.1:8545:8545 -p 127.0.0.1:8546:8546 -v $HOME/.fxcore:/root/.fxcore ghcr.io/PundiAI/fx-core:8.6.1 start

To check if fxcore is synced:

curl localhost:26657/status

Return:

To ensure that the blocks are synced up with your node, under "sync_info", "catching_up value" should be false "catching_up value": false. This may take a few hours and your node has to be fully synced up before proceeding to the next step. You may cross reference the latest block you are synced to "sync_info": "latest_block_height" and the latest block height of our Testnet blockchain on our Testnet blockchain explorerarrow-up-right or our Mainnetarrow-up-right.

Make sure that every node has a unique priv_validator.json. Do not copy the priv_validator.json from an old node to multiple new nodes. Running two nodes with the same priv_validator.json will cause you to double sign.

Last updated