Skip to content

BitCanna v1.6.0-fix - `vigorous-grow` codename

Compare
Choose a tag to compare
@RaulBernal RaulBernal released this 27 Feb 20:06
· 769 commits to main since this release
c3219e5

Important note: The tag name required for the upgrade is v1.6.0-fix because tag v1.6.0 contains a typo and won't match the Plan (Upgrade) Name

Key features

(Update scheduled for 2nd March 2023 ~ 16.20h CET - 15.20h UTC)

  • Ante handler to prevent spam proposals at Gov module
  • Remove OpenAPI dep from Ignite; now included locally.
  • Bump Cosmos SDK version to v0.45.14 to mitigate a possible way to DDoS a node.
  • Bump Tendermint to v0.34.26 (InformalSystem fork).
  • Bump IBC go version to v.3.4.0 (it will break consensus so a new start/stop is required)
  • Bump IAVL version to v0.19.5
  • Fixed BCNA module path & bug with CLI
  • Using Cosmos Keyring v1.2.0

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

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 bcnad in this folder as well
wget https://github.com/BitCannaGlobal/bcna/releases/download/v1.6.0-fix/bcna_linux_amd64.tar.gz
tar zxvf bcna_linux_amd64.tar.gz
./bcnad version
 >> result should be `1.6.0-fix`

Option 2. Compile from source

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

2. Prepare (Cosmovisor) or replace (manually) v1.5.3 previous version with this v1.6.0-fix

For Cosmovisor:

You can already perform these steps before the chain halts.

Prepare the folders and binary

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

Check if everything is working properly:

cosmovisor run version # before upgrade should be: `v1.5.3`; **after upgrade** `v1.6.0-fix`

For BCNAD daemon:

When chain halts: Replace v1.5.3 previous version with this v1.6.0-fix
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

d8db10c1bb0bb546b392b36d1947b154d4825216abddd5f6a6d51ae69a69419f bcna_darwin_amd64.tar.gz
d5359973c15b8076c2f14f8c30aac791c9def47afae3db04ecbbbed59e102cb4 bcna_darwin_arm64.tar.gz
9212ca0bc06f6697a1b0983b10bca6c9a9348d5a416ade0104a7a5afcec2aa56 bcna_linux_amd64.tar.gz

What's Changed?

New Contributors

Full Changelog: v1.5.3...v1.6.0-fix