The following instructions will allow patch your node from v1.16.x to v1.17.0, and pre-download v1.17.0 upgrade binaries. The binaries must be placed in ~/.switcheod/cosmovisor/upgrades/v1.17.0
directory so that cosmovisor will switch to the right binaries at v1.17.0 upgrade block height.
The v1.17.0 upgrade will be scheduled for block 11705750.
❗ Run these steps in sequence, do not skip any steps! ❗
-
Download and upgrade using the v1.17.0 release bundle.
The v1.17.0 release bundle contains v1.17.0 binaries.
We will be placing v1.17.0 binaries (
switcheod
/switcheocli
) in thecosmovisor/upgrades/v1.17.0
directory. Cosmovisor will switch to the right binary during the upgrade block height.curl -L https://github.com/Switcheo/tradehub/releases/download/v1.17.0/install-mainnet.tar.gz | tar -xz cd install-mainnet && sudo ./install.sh && cd - && rm -rf install-mainnet # place pre-download v1.17.0 binaries into upgrades/v1.17.0 directory sudo cp -r /etc/switcheoctl/cosmovisor/upgrades/v1.17.0 ~/.switcheod/cosmovisor/upgrades
Note that v1.17.0 will be running automatically after block 11705750. You may check the version of your node after block 11705750.
-
Check that you have configured the right versions of
switcheod
forcosmovisor
to switch over correctly.Ensure that you have the right binaries installed under the
cosmovisor
andusr/local/bin
directories:openssl sha256 ~/.switcheod/cosmovisor/upgrades/v1.17.0/bin/switcheod # 6e838ca6cc74d43a0eeebe60bd0b0fc676e6e0337aed19e5b192c9fec65121eb