-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd2793c
commit 65ef6b3
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# 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. | ||
|
||
**:exclamation: Run these steps in sequence, do not skip any steps! :exclamation:** | ||
|
||
1. Download and upgrade using the v1.19.3 release bundle. | ||
|
||
The [v1.19.3 release bundle](https://github.com/Switcheo/tradehub/releases/tag/v1.19.3) 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. | ||
|
||
```bash | ||
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 | ||
``` |