-
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
aad0908
commit 5f26504
Showing
1 changed file
with
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# MainNet v1.18.x -> v1.19.0 Upgrade Instructions | ||
|
||
The following instructions will allow patch your node from v1.18.x to v1.19.0, and pre-download v1.19.0 upgrade binaries. The binaries must be placed in `~/.switcheod/cosmovisor/upgrades/v1.19.0` directory so that cosmovisor will switch to the right binaries at v1.19.0 upgrade block height. | ||
|
||
The v1.19.0 upgrade will be scheduled for [block 15014050](https://switcheo.org/blocks). | ||
|
||
**:exclamation: Run these steps in sequence, do not skip any steps! :exclamation:** | ||
|
||
1. Download and upgrade using the v1.19.0 release bundle. | ||
|
||
The [v1.19.0 release bundle](https://github.com/Switcheo/tradehub/releases/tag/v1.19.0) contains v1.19.0 binaries. | ||
|
||
We will be placing v1.19.0 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.0/install-mainnet.tar.gz | tar -xz | ||
cd install-mainnet && sudo ./install.sh && cd - && rm -rf install-mainnet | ||
|
||
# place pre-download v1.19.0 binaries into upgrades/v1.19.0 directory | ||
sudo cp -r /etc/switcheoctl/cosmovisor/upgrades/v1.19.0 ~/.switcheod/cosmovisor/upgrades | ||
``` | ||
|
||
Note that v1.19.0 will be running automatically after block 15014050. You may check the version of your node after block 15014050. | ||
|
||
2. Check that you have configured the right versions of `switcheod` for `cosmovisor` to switch over correctly. | ||
|
||
Ensure that you have the right binaries installed under the `cosmovisor` and `usr/local/bin` directories: | ||
|
||
```bash | ||
openssl sha256 ~/.switcheod/cosmovisor/upgrades/v1.19.0/bin/switcheod | ||
# c8f82bb141889c8184daf86b205864c00dbdacebe059e0b447b595d290a6a36c | ||
``` |