Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.51 KB

v1.19.3.md

File metadata and controls

31 lines (21 loc) · 1.51 KB

MainNet v1.19.x -> v1.19.3 Upgrade Instructions

The following instructions will allow patch your node from v1.19.x to v1.19.3. The binaries must be placed in ~/.switcheod/cosmovisor/upgrades/v1.19.0 directory so that cosmovisor will start with the right binaries.

❗ Run these steps in sequence, do not skip any steps! ❗

  1. Download and upgrade using the v1.19.3 release bundle.

    The v1.19.3 release bundle contains v1.19.3 binaries.

    We will be placing v1.19.3 binaries (switcheod / switcheocli) in the cosmovisor/upgrades/v1.19.0 directory. Cosmovisor will switch to the right binary during the upgrade block height.

    curl -L https://github.com/Switcheo/tradehub/releases/download/v1.19.3/install-mainnet.tar.gz | tar -xz
    cd install-mainnet && sudo ./install.sh && cd - && rm -rf install-mainnet
    
    switcheoctl stop
    
    # place v1.19.3 binaries into upgrades/v1.19.0 directory
    sudo cp /etc/switcheoctl/bin/switcheod ~/.switcheod/cosmovisor/upgrades/v1.19.0/bin
    sudo cp /etc/switcheoctl/bin/switcheocli ~/.switcheod/cosmovisor/upgrades/v1.19.0/bin
    
    # ensure that you have installed the right binary, do not proceed if it's different.
    openssl sha256 ~/.switcheod/cosmovisor/upgrades/v1.19.0/bin/switcheod
    # a34985cc645559590a92ba749e58fc18696312a95216ccf6369f4040c4cb3877
    
    # sentry node, non-validator node or
    switcheoctl start -n
    # validator node
    switcheoctl start