Skip to content

Commit

Permalink
Merge pull request #331 from BitCannaGlobal/BCNAD-v3.0.2-doc
Browse files Browse the repository at this point in the history
update doc for BCNAD v3.0.2
  • Loading branch information
RaulBernal authored Feb 23, 2024
2 parents 9a5beee + c373979 commit dd9db50
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions 1.install-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ If we don't raise this value, nodes will crash once the network grows large enou
```
## Option 1. Download and install the last binary
By downloading the binary we avoid compiling the source code.
1. Download the latest version (v.3.0.1) from Github:
1. Download the latest version (v.3.0.2) from Github:
```
cd $HOME
wget -nc https://github.com/BitCannaGlobal/bcna/releases/download/v3.0.1/bcna_linux_amd64.tar.gz
wget -nc https://github.com/BitCannaGlobal/bcna/releases/download/v3.0.2/bcna_linux_amd64.tar.gz
```
2. Check the sha256sum for the downloaded file.
```
sha256sum bcna_linux_amd64.tar.gz
```
It must return: `cc07da73532271e9c4a78381792d21ca3d3c9261da545d34fb80afc9052c83cb`
It must return: `92547040144107bd71a20f7b6455ca4117f4fbd4476ad25c94721339b94fbd9a`
3. Verify that the version is `3.0.1`
3. Verify that the version is `3.0.2`
```
rm -f ./bcnad #delete old file if exist
tar zxvf bcna_linux_amd64.tar.gz
Expand Down Expand Up @@ -82,14 +82,14 @@ The official instructions can be found here: https://golang.org/doc/install
```
git clone https://github.com/BitCannaGlobal/bcna.git
cd bcna
git checkout v3.0.1
git checkout v3.0.2
make build #it build the binary in build/ folder
```
6. Verify the version:
```
build/bcnad version
```
The output must be `3.0.1`
The output must be `3.0.2`
7. You now have two options:
* Move the binary to the /usr/local/bin path with:
Expand Down
4 changes: 2 additions & 2 deletions 2.2.snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For this step, its necessary that you have followed [this manual](https://github
```
bcnad version
```
The output must be: `v3.0.1`
The output must be: `v3.0.2`

If you are using Cosmovisor,
```
Expand All @@ -38,7 +38,7 @@ The output must be:
```
cosmovisor run version
11:11AM INF running app args=["version"] module=cosmovisor path=/home/user/.bcna/cosmovisor/upgrades/ganjarevolution/bin/bcnad
3.0.0
3.0.2
```
### 2. Initialize the folders
If you are a new user, you must initialize the folders:
Expand Down
8 changes: 4 additions & 4 deletions 5.cosmovisor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

In this guide, you will find step-by-step instructions for downloading, compiling, and installing Cosmovisor on your BitCanna node on the MAINNET. We have provided the simplest methods for installation, so you can quickly and easily get Cosmovisor running on your node.

When a new version of the `bcnad` binary is released and governance has approved for it to take place, instructions on how to implement the upgrade with Cosmovisor are [included on the releasepage on GitHub](https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.1).
When a new version of the `bcnad` binary is released and governance has approved for it to take place, instructions on how to implement the upgrade with Cosmovisor are [included on the releasepage on GitHub](https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.2).

If you have any questions or find anything unclear when reading through this guide, don’t hesitate to reach out to us on Discord. Also, if you have any suggestions for improvement, we welcome you to make a pull request!

Expand Down Expand Up @@ -154,19 +154,19 @@ Show Cosmovisor's version.
```bash
cosmovisor run version
```
It must return `v3.0.1`
It must return `v3.0.2`

The output should look like this:
```go
20:27PM INF running app args=["version"] module=cosmovisor path=/home/user/.bcna/cosmovisor/upgrades/ganjarevolution
3.0.0
3.0.2
```
* Show BitCanna version: `bcnad version` Must show the same version as above
* Show Cosmovisor sync info and status: `cosmovisor run status`

### 5.) Done.
Congratulations, you have installed Cosmovisor on your BitCanna node. Future upgrades of the binary's will be handled by Cosmovisor. Instructions to prepare Cosmovisor for an upcoming chain-upgrade will be provided on the release page.
An example can be found [here](https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.1).
An example can be found [here](https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.2).

## Reminder
In the future, you must use the `cosmovisor` command instead of the `bcnad` command if you want to perform **service related** commands.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

BitCanna provides a decentralized payment network, supply chain and trust network for the legal cannabis industry by utilizing the BCNA coin.

> [Current version (v3.0.1)](https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.1) of our development uses Cosmos SDK v0.47.8 & CometBFT v0.37.4 & IBC-go v7.3.2
> [Current version (v3.0.2)](https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.2) of our development uses Cosmos SDK v0.47.9 & CometBFT v0.37.4 & IBC-go v7.3.2
These docs at Github are chain related. For more information about our coin, partners and roadmap visit:
* Our website: https://www.bitcanna.io
Expand Down Expand Up @@ -34,9 +34,9 @@ Here are the minimal hardware configs required for running a validator/sentry no
| 10th Mar 2023 18.40h CET | 7.585.420 | [v1.6.1](https://github.com/BitCannaGlobal/bcna/releases/download/v1.6.1/bcna_linux_amd64.tar.gz) | [Link](https://github.com/BitCannaGlobal/bcna/releases/tag/v1.6.1) | [Doc](https://github.com/BitCannaGlobal/bcna/blob/main/last_upgrade.md#v161-codename-vigorous-grow-fix---from-v161) |
| 30th May 2023 15.40h CEST | 8.771.420 | [v1.7.0](https://github.com/BitCannaGlobal/bcna/releases/download/v1.7.0/bcna_linux_amd64.tar.gz) | [Link](https://github.com/BitCannaGlobal/bcna/releases/tag/v1.7.0) | [Doc](https://github.com/BitCannaGlobal/bcna/blob/main/last_upgrade.md#v170-codename-vigorous-grow-huckleberry-from-v163) |
| 29th Jun 2023 16.20h CEST | 9.209.420 | [v2.0.2](https://github.com/BitCannaGlobal/bcna/releases/download/v2.0.2/bcna_linux_amd64.tar.gz) | [Link](https://github.com/BitCannaGlobal/bcna/releases/tag/v2.0.2) | [Doc](https://github.com/BitCannaGlobal/bcna/blob/main/last_upgrade.md) |
| 25th Jan 2024 16.35h CET | 12.288.420 | [v3.0.0](https://github.com/BitCannaGlobal/bcna/releases/download/v3.0.0/bcna_linux_amd64.tar.gz) | [Link](https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.0) | [Doc](https://github.com/BitCannaGlobal/bcna/blob/main/last_upgrade.md) |
| 25th Jan 2024 16.35h CET | 12.288.420 | [v3.0.2](https://github.com/BitCannaGlobal/bcna/releases/download/v3.0.2/bcna_linux_amd64.tar.gz) | [Link](https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.2) | [Doc](https://github.com/BitCannaGlobal/bcna/blob/main/last_upgrade.md) |

> Current version: https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.1
> Current version: https://github.com/BitCannaGlobal/bcna/releases/tag/v3.0.2
# How to join `bitcanna-1` chain
> Tip: At the end of this doc, you will find links with important info
Expand Down
8 changes: 4 additions & 4 deletions devnets/bitcanna-dev-1/cosmovisor_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ This guide explains how to download the pre-compiled binary. If you want to buil
```
cd ~
rm -f bcnad #remove the previous downloads
wget https://github.com/BitCannaGlobal/bcna/releases/download/v3.0.0-rc3/bcna_linux_amd64.tar.gz
wget https://github.com/BitCannaGlobal/bcna/releases/download/v3.0.2/bcna_linux_amd64.tar.gz
```
Check the sha256sum.
```
sha256sum ./bcna_linux_amd64.tar.gz
```
> It must return: `68764582fea71f3ff721a69fe760cbbfb22941df229b9230989e667f0c94f183`
> It must return: `92547040144107bd71a20f7b6455ca4117f4fbd4476ad25c94721339b94fbd9a`
Verify that you have the correct version.
```
Expand All @@ -96,7 +96,7 @@ rm bcna_linux_amd64.tar.gz
chmod +x ./bcnad
./bcnad version
```
> It must return: **`v3.0.0-rc3`**
> It must return: **`v3.0.2`**
Move the newly built binary to the designated upgrade directory.
> If you have build the binary from the source, replace `./bcnad` with the correct path.
Expand Down Expand Up @@ -172,7 +172,7 @@ Show Cosmovisor's version.
```
cosmovisor run version
```
This will be **`v2.0.1` before** the upgrade and **`v3.0.0-rc3` after** the upgrade.
This will be **`v2.0.1` before** the upgrade and **`v3.0.2` after** the upgrade.

The output should look like this:
```
Expand Down

0 comments on commit dd9db50

Please sign in to comment.