Cosmovisor Integration - Binaries
For more information on past upgrades and instructions, refer to Upgrade Versions.
You may refer to this Countdown Timer which will countdown the time till the upgrade height.
cosmovisoris a small process manager for Cosmos SDK application binaries that monitors the governance module for incoming chain upgrade proposals. If it sees a proposal that gets approved, cosmovisor can automatically download the new binary, stop the current binary, switch from the old binary to the new one, and finally restart the node with the new binary.
1. Install Cosmovisor
go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.6.0Set up the Cosmovisor environment variables. Creates the folder structure required for using cosmovisor.
if you have used cosmovisor before, you can skip this step. Or you can use rm -rf $HOME/.fxcore/cosmovisor to reset
git clone https://github.com/PundiAI/fx-core.git
cd fx-core
git checkout release/v8.5.x
make buildexport DAEMON_NAME=fxcored DAEMON_HOME=$HOME/.fxcore DAEMON_POLL_INTERVAL=1s UNSAFE_SKIP_BACKUP=true
cosmovisor init ./build/bin/fxcored
mkdir -p $HOME/.fxcore/cosmovisor/upgrades/v8.5.x/bin/
cp ./build/bin/fxcored $HOME/.fxcore/cosmovisor/upgrades/v8.5.x/bin/
cosmovisor version2. Install the fxcore release
To check that you did this correctly, ensure your versions of cosmovisor are the same:
In addition, we have added the feature of the doctor command in the v4 version, which is used to check whether the environment you are currently running is correct. if you see the warning, please contact our technical support.
3. Start your node
To keep the process always running. If you're on linux, you can do this by creating a service.
Reload, enable and restart the node with daemon service file
Troubleshooting
Checking working environment
Accessing logs
Last updated