Skip to content

BitCanna v1.5.3 - `TrichomeMonster-ica` codename

Compare
Choose a tag to compare
@RaulBernal RaulBernal released this 04 Nov 11:32
· 871 commits to main since this release
73092a5

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 halts 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:

This could happen before chain halts.

Install/update the last version of Cosmovisor v1.4

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

Also you can download from here

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 everyhting goes smooth:

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

491e88b774ad631fa0324e41612b0059ccdeccd16034f2c0789e90a4c5cfb597 bcna_darwin_arm64.tar.gz
8a43bdbea31c299db2ca849f232189374286c2168264072358d48c2a6f6aa2da bcna_linux_amd64.tar.gz
feb6ccf998db79643879cf3aca462adc272091797751043b7f1cc5bea359d87c bcna_linux_arm64.tar.gz
c08e64d753697f2b1c6ad4335faff3c206aa9d265a1a0142c5ebce02f169417e cosmovisor

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.5.3