Running "Canis Major" network upgrade with cosmovisor
Last updated
Last updated
Warning:
It is recommended that cosmovisor is better to be used on full nodes rather than validators as currently there's a potential race condition:
One can follow this to install.
Alternatively, run the below commands instead
Set your for cosmovisor to run
For .chain-maind/cosmovisor/genesis/bin/chain-maind
, it is the binary before the upgrade proceeds. In our case of the "DRACO II" upgrade, it should be chain-maind with version 2.*
. Kindly have this binary ready before running cosmovisor.
Start cosmovisor
, e.g.:
Since we enable DAEMON_ALLOW_DOWNLOAD_BINARIES=true
, cosmovisor will automatically download binary with 3.3.1
in ./cosmovisor/upgrades/v2.0.0/bin/chain-maind
and update ./cosmovisor/current
directory symlink to upgrades/v3.3.0
instead when proposed upgrade log is found. cosmovisor will create ./cosmovisor/upgrades/v3.3.0/bin/chain-maind
for you.
One can follow this
Important: If one doesn't want to enable DAEMON_ALLOW_DOWNLOAD_BINARIES
, one should prepare ./cosmovisor/upgrades/v3.3.0/bin/chain-maind
manually before upgrade time. , and are also available.