Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cosmovisor guide for newtork upgrade #176

Merged
merged 5 commits into from
May 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo for cosmovisor.md
Apply suggestions from code review

Co-authored-by: aw126 <78806365+aw126@users.noreply.github.com>
  • Loading branch information
allthatjazzleo and aw126 authored May 26, 2021
commit 1111bc2869b15809002a6d9ef1674dba2ef7fc25
7 changes: 3 additions & 4 deletions docs/getting-started/cosmovisor.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

One can follow this [link](https://docs.cosmos.network/master/run-node/cosmovisor.html#installation) to install.

Or, run below command
Alternatively, run the below commands instead
```
$ git clone https://github.com/cosmos/cosmos-sdk.git
$ cd cosmos-sdk/cosmovisor
Expand Down Expand Up @@ -43,7 +43,7 @@ One can follow this [folder structure](https://docs.cosmos.network/master/run-no
└── data
```

For `.chain-maind/cosmovisor/genesis/bin/chain-maind`, it is the binary before the upgrade proceeds. In our case of the "Canis Major" upgrade, it should be chain-maind with version `1.2.1`. Kindly, prepare this binary before run cosmovisor.
For `.chain-maind/cosmovisor/genesis/bin/chain-maind`, it is the binary before the upgrade proceeds. In our case of the "Canis Major" upgrade, it should be chain-maind with version `1.2.1`. Kindly have this binary ready before running cosmovisor.

## Step 2. - Run everything

Expand All @@ -56,7 +56,7 @@ $ ./cosmovisor start
Since we enable `DAEMON_ALLOW_DOWNLOAD_BINARIES=true`, cosmovisor will automatically download binary with `2.0.1` in `./cosmovisor/upgrades/v2.0.0/bin/chain-maind` and update `./cosmovisor/current` directory symlink to `upgrades/v2.0.0` instead when proposed upgrade log is found. cosmovisor will create `./cosmovisor/upgrades/v2.0.0/bin/chain-maind` for you.

:::warning Important:
If one doesn't want to enable `DAEMON_ALLOW_DOWNLOAD_BINARIES`, one should prepare `./cosmovisor/upgrades/v2.0.0/bin/chain-maind` mamually before upgrade time.
If one doesn't want to enable `DAEMON_ALLOW_DOWNLOAD_BINARIES`, one should prepare `./cosmovisor/upgrades/v2.0.0/bin/chain-maind` manually before upgrade time.
[Linux](https://github.com/crypto-org-chain/chain-main/releases/download/v2.0.1/chain-main_2.0.1_Linux_x86_64.tar.gz), [Mac](https://github.com/crypto-org-chain/chain-main/releases/download/v2.0.1/chain-main_2.0.1_Darwin_x86_64.tar.gz) and [Windows](https://github.com/crypto-org-chain/chain-main/releases/download/v2.0.1/chain-main_2.0.1_Windows_x86_64.zip) are also available.
:::

Expand Down Expand Up @@ -101,4 +101,3 @@ WantedBy=multi-user.target
```
:::