BitCanna v2.0.1-rc2 - `WakeAndBake` codename - DEVNET use only
Pre-releaseWhat's Changed
- v0.46.6-update & fixing Groups bug by @RaulBernal in #115
HASHes
88f8f9a7409af80258d67ac490f2b71ae056cbd3945960bb7f432a6288810ee4 bcna_darwin_arm64.tar.gz
a424ad37b301578370bce58134c78891798c9c0b519ec09954054184a2a868e1 bcna_linux_amd64.tar.gz
8b25865bfbc9a555cf359b25cb3bdaa707db7cc9cc78f3585db451c27e734cbc bcna_linux_arm64.tar.gz
Upgrade Instructions
Governance proposal:
- halt-height
1.032.049
- on November 28th 16:00h CET - 15:00h UTC
https://testnet.ping.pub/bitcanna/gov/10
Download the new binary
- Download the binary or compile it from the source
cd ~
rm -f ./bcnad && rm -f ./bcna_linux_amd64.tar.gz # clean the previous downloads
wget -nc https://github.com/BitCannaGlobal/bcna/releases/download/v2.0.1-rc2/bcna_linux_amd64.tar.gz
- Check the sha256sum.
sha256sum bcna_linux_amd64.tar.gz
It must return:
a424ad37b301578370bce58134c78891798c9c0b519ec09954054184a2a868e1
- Verify that the version is
v2.0.1-rc2
tar zxvf bcna_linux_amd64.tar.gz
rm bcna_linux_amd64.tar.gz
./bcnad version
You can continue with Manual instructions or Cosmovisor ones.
Option 1. Attended (manual) upgrade.
This section of the guide shows how to perform a manual update of the binaries after a governance proposal has been approved for a chain update.
- Stop your bcnad service after you see this in your logs
ERR UPGRADE "wakeandbake46.6" NEEDED at height: 1.032.049
sudo service bcnad stop
- Move the new binary to your machine's PATH and overwrite the previous version
sudo mv bcnad $(which bcnad) #copy&paste don't replace anything
If you know the exact destination you could also run:
sudo mv bcnad /usr/local/bin/ #or wherever you have it
- Start the bcnad service
sudo service bcnad start
Of course, if you are familiar with the Cosmos environment, you can keep the daemon running while you are compiling/downloading and later make the upgrade in one command:
sudo service bcnad stop && sudo mv bcnad $(which bcnad) && sudo service bcnad start
- Ensure that everything is OK by checking the logs
sudo journalctl -fu bcnad -o cat
Option 2. Unattended (Cosmovisor) upgrade.
This section of the guide shows how to perform a automated upgrade of the binaries after a governance proposal has been approved for a chain update.
For detailed instructions about setting up Cosmovisor from scratch, check this guide.
This guide shows how to download the binary. If you want to build the binary from the source, detailed instructions can be found in the README of our GitHub (git checkout v2.0.1-rc2
)
Setup Cosmovisor folder
Binary should be download previously
- Create new directory
mkdir -p ${HOME}/.bcna/cosmovisor/upgrades/wakeandbake46.6/bin
- Move the newly downloaded binary to the upgrades directory.
mv ./bcnad ${HOME}/.bcna/cosmovisor/upgrades/wakeandbake46.6/bin/
If you build the binary from the code source, move it to the same folder
- If you want to know if Cosmovisor handles the correct binary file, exec:
sudo service cosmovisor status
And check the path of the binary file.
If you want to build from the source
If you want to build the binary from the source, detailed instructions can be found in the README of our GitHub:
git clone https://github.com/BitCannaGlobal/bcna.git
cd bcna
git checkout v2.0.1-rc2
make build && make install
Full Changelog: v2.0.1-rc1...v2.0.1-rc2