Upgrade
Using Cosmovisor streamlines upgrade preparation. Just build new binaries and move them to the Cosmovisor upgrades directory.
Download latest binaries
Download and build a specific upgrade binary file
cd $HOME
rm -rf ojo
git clone https://github.com/ojo-network/ojo.git
cd ojo
git checkout v0.3.1-rc2
make build
Latest commit : 499d97c4d7ebb75b6382a6ecc6de15d6a9964b1a
Prepare Cosmovisor
Get the binaries ready for Cosmovisor upgrades
mkdir -p $HOME/.sge/cosmovisor/upgrades/v0.3.1-rc2/bin
mv build/ojod $HOME/.sge/cosmovisor/upgrades/v0.3.1-rc2/bin/
rm -rf build
β³
That's all! Cosmovisor will take care of the upgrade automatically once the specified block height is reached.