Skip to content

Commit

Permalink
downgrading Cosmovisor to v.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulBernal authored Aug 12, 2022
1 parent 49a4935 commit e2df19f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions 2.3.cosmovisor.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
This guide will explain how to install Cosmovisor and prepare for a future chain update. A full guide about Cosmovisor can be found [here](https://github.com/cosmos/cosmos-sdk/tree/master/cosmovisor).
> NOTE: This doc is updated to run with last version v14.1. Specific Upgrade Guide for v1.4.1 from v.1.3.1 is [here](https://github.com/BitCannaGlobal/bcna/blob/main/last_upgrade.md)
> CAUTION! Cosmovisor v1.2 has a bug and it doesn't get the uppercase in the binary folder path
BUG description here: cosmos/cosmos-sdk#12915

## Step 1. Download Cosmovisor
You can build Cosmovisor from the source or download it from our GitHub repository. Detailed instruction to understand how it works [here](https://github.com/cosmos/cosmos-sdk/tree/master/cosmovisor#cosmosvisor).

Expand All @@ -13,18 +16,18 @@ You can build Cosmovisor from the source or download it from our GitHub reposito
To download Cosmovisor without having to compile it yourself, run the following command:
```
cd ~
wget https://github.com/cosmos/cosmos-sdk/releases/download/cosmovisor%2Fv1.2.0/cosmovisor-v1.2.0-linux-amd64.tar.gz
wget https://github.com/cosmos/cosmos-sdk/releases/download/cosmovisor%2Fv1.1.0/cosmovisor-v1.1.0-linux-amd64.tar.gz
```
Check sha256 sum
```
sha256sum cosmovisor-v1.2.0-linux-amd64.tar.gz
sha256sum cosmovisor-v1.1.0-linux-amd64.tar.gz
```
It must return: `3b984af77657fcfb01da17794cb803e09aa389b1e184774d997500cb3642229c`
It must return: `9a6eb658404f28a3607a3d531821ca4a6501749aa483698847155f362e66859d`

Unzip the file, give it the correct permissions and move it to your machine's PATH
```
tar -xf cosmovisor-v1.2.0-linux-amd64.tar.gz
rm cosmovisor-v1.2.0-linux-amd64.tar.gz
tar -xf cosmovisor-v1.1.0-linux-amd64.tar.gz
rm cosmovisor-v1.1.0-linux-amd64.tar.gz
chmod +x cosmovisor
sudo mv cosmovisor /usr/local/bin
```
Expand All @@ -36,7 +39,7 @@ Try this to install Cosmovisor from the source by pulling the cosmos-sdk reposit
```
git clone https://github.com/cosmos/cosmos-sdk.git
cd cosmos-sdk
git checkout cosmovisor/v1.2.0
git checkout cosmovisor/v1.1.0
make cosmovisor
```
The previous action builds Cosmovisor in the `/cosmovisor` directory, now let's move it to the system's PATH:
Expand Down

0 comments on commit e2df19f

Please sign in to comment.