Try   HackMD

NEW RELEASE: v1.5.3 MainNet

Title:

BitCanna v1.5.3 - TrichomeMonster-ica codename

Key features

(Update scheduled for 7 November 2022 ~ 14.00h UTC)

  • Source code refactored to deprecate CosmosCMD package from Ignite/CLI.
  • InterChain Accounts module intregration.
  • Last security and stability updates.

Note: this is a planned upgrade, chain will halt at block 5787420

Instructions for preparing the upgrade

1_Build from source or download it

Option 1. Download

rm  -rf ./bcna_linux_amd64.tar.gz  # delete old versions, check also bcnad in this folder
wget https://github.com/BitCannaGlobal/bcna/releases/download/v1.5.3/bcna_linux_amd64.tar.gz
tar zxvf bcna_linux_amd64.tar.gz
./bcnad version
 >> result should be `1.5.3`

Option 2. Compile from source

git clone https://github.com/BitCannaGlobal/bcna.git
cd bcna
# git fetch if already cloned
git checkout v1.5.3
make build  ## mv  build/bcnad $(which bcnad)  > manually to service path
make install ## Optional: it install in $GOBIN

Prepare (Cosmovisor) or replace (manually) any previous version with this v1.5.3

For Cosmovisor:

You can perform this step before chain halts.

Install/update the last version of Cosmovisor v1.4

go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.4.0

Now prepare the folders and binary

mkdir -p ${HOME}/.bcna/cosmovisor/upgrades/trichomemonster-ica/bin/
  • If you built it:
    ​​​​mv build/bcnad  ${HOME}/.bcna/cosmovisor/upgrades/trichomemonster-ica/bin/
    
  • If you downloaded it
    ​​​​mv bcnad ${HOME}/.bcna/cosmovisor/upgrades/trichomemonster-ica/bin/
    

Check if everything works properly:

cosmovisor version
cosmovisor run version # before upgrade should be: v1.4.5; after v1.5.3
sudo service cosmovisor restart && sudo journalctl -fu cosmovisor -o cat #check the logs

For BCNAD daemon:

When chain halts: Replace any previous version with this v1.5.3
Stop the daemon:

sudo service bcnad stop

Replace the binary

  • If you built it:
    ​​​​sudo mv build/bcnad  $(which bcnad)
    
  • If you downloaded it
    ​​​​sudo mv bcnad $(which bcnad)
    

Start the daemon and check:

sudo service bcnad restart && sudo journalctl -fu bcnad -o cat #check the logs

sha256SUM

--------------- bcna_darwin_arm64.tar.gz
--------------- bcna_linux_amd64.tar.gz
tags: bitcanna, doc, new release