Skip to content

v2.0.2 - Codename: `wakeandbake`

Compare
Choose a tag to compare
@RaulBernal RaulBernal released this 16 Jun 10:17
· 524 commits to main since this release
f09d3d7

Important Upgrade info:

This release requires a governance proposal to start a new consensus because we bump Comos-SDK from v0.46.x to v0.47.x

Halt height: 9209420
Estimated Target Date: Tue Jun 29 2023 15:15:00h CEST (13:15:00h UTC)
Cosmovisor Plan Name: wakeandbake
version: v2.0.2
commit: f09d3d7ad9ab39240f0445a9da74e70aa15379d2
branch: https://github.com/BitCannaGlobal/bcna/tree/main

Brief description:

After 9 months testing this migration and adding new features (back-ported to v1.x branch) we decided to merge the source code and release a new BCNAD v2 based on Cosmos SDK v0.46.13 & CometBFT v0.34.28 -
This is a bridge to reach in a near future the SDK v0.47.

Those are the highlighted features/improvements/bug fixes:

  • Barberry security fix. Bump Cosmos SDK to v0.46.13 by @RaulBernal in #210

Extended info about this emergency release

  • Split Peers & seed and services file in two by @RaulBernal in #189
  • Attending IBC Security Advisory Huckleberry by @RaulBernal in #185
  • Chore: Makefile, mandatory use go1.20.x
  • Chore: Lint errors fixing by @RaulBernal in #172
  • Chore: some refactor coding task for BCNA v2 (Cosmos-SDK v0.46.12) for coming merging in main branch (current BCNA v1 repo (Cosmos-SDK v0.45.15))
  • Check and avoid duplicates at Bitcannaid.bcnaid by @RaulBernal in #171
  • New endpoint for BCNA module /BitCannaGlobal/bcna/bcna/bitcannaid/bcnaid/{bcnaid}
  • Code refactor to deprecate Ignite OpenAPIConsole deps
  • Refactor Gov Spam filter to reject v1 proposals, only v1beta1 are allowed for SDK v0.46
  • Ante handler to prevent spam proposals at Gov module
  • Bump IBC go version to v6.1
  • Bump IAVL version to v0.19.5
  • Fixed BCNA module path & bug with CLI
  • Using Cosmos Keyring v1.2.0
  • SDK v0.46 bech32fix
  • Endpoint nodeconfig by @RaulBernal in #132
  • Upgrades separated of App.go by @RaulBernal in #133
  • Deprecate ignite/cli cosmoscmd package by @RaulBernal in #102
  • Refactor tests and root & delete comments by @RaulBernal in #112

Quick instructions

Mandatory to compile with go1.20.x

Option 1. Download:

rm -rf bcna_linux_amd64.tar.gz # delete if exists
wget https://github.com/BitCannaGlobal/bcna/releases/download/v2.0.2/bcna_linux_amd64.tar.gz
sha256sum bcna_linux_amd64.tar.gz 
# Output: `e991b8ff7bc8dfce6f3d321a61debd60fbbd3a104220e599c075f4f21cc22754` 
tar zxvf bcna_linux_amd64.tar.gz
rm bcna_linux_amd64.tar.gz
./bcnad version # --> v2.0.2

With Cosmovisor

mkdir -p $HOME/.bcna/cosmovisor/upgrades/wakeandbake/bin
mv bcnad $HOME/.bcna/cosmovisor/upgrades/wakeandbake/bin/
$HOME/.bcna/cosmovisor/upgrades/wakeandbake/bin/bcnad version # --> v2.0.2

With BCNAD as service daemon

sudo mv bcnad $(which bcnad)
bcnad version # --> v2.0.2
#When the halt-height comes: 
sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Option 2. Compile:

cd bcna
git fetch 
git checkout v2.0.2
make build # and move the binary to the path
make install # if patch/service file  is at $GOBIN

With Cosmovisor

mkdir -p $HOME/.bcna/cosmovisor/upgrades/wakeandbake/bin
mv build/bcnad $HOME/.bcna/cosmovisor/upgrades/wakeandbake/bin/
$HOME/.bcna/cosmovisor/upgrades/wakeandbake/bin/bcnad version # --> v2.0.2

With BCNAD as service daemon

sudo mv build/bcnad $(which bcnad)
bcnad version # --> v2.0.2
#When the halt-height comes: 
sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

SHA256 Checksums

e505ed0e8bfb748f5a70c1dc809773e4ef70bba081e4dc7e3833e87f8caa2fb8 bcna_darwin_arm64.tar.gz
e991b8ff7bc8dfce6f3d321a61debd60fbbd3a104220e599c075f4f21cc22754 bcna_linux_amd64.tar.gz
e0c9fca2a66052905b6a2993d3eeda9f0f82bad8629b1eb88ecee8fe14a88164 bcna_linux_arm64.tar.gz

New Contributors

Full Changelog: v2.0.1...v2.0.2