cosmovisor is a process manager for Cosmos SDK application binaries that automates application binary switch at chain upgrades. It polls the upgrade-info.json file that is created by the x/upgrade module at upgrade height, and then 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.
‼️
If you have been running without using Cosmovisor for a while and are now preparing to use Cosmovisor, please note that you need to check if upgrade-info.json file exists under WORKSPACE/data/ Please remove it during the initial run Cosmovisor.
To Install the latest version.
go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@latest
Setup
cd $WORKSPACE
mkdir -p cosmovisor/genesis/bin
mkdir -p cosmovisor/upgrades
cp bbcored cosmovisor/genesis/bin/ # copy current version of bbcored