Skip to content

Releases: BitCannaGlobal/bcna

v2.0.2 - Codename: `wakeandbake`

16 Jun 10:17
f09d3d7
Compare
Choose a tag to compare

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

BitCanna v2.0.2-rc2 - Codename: `wakeandbake`

09 Jun 07:26
e785727
Compare
Choose a tag to compare

Those are the highlighted features/improvements/bug fixes:

  • Security patch: bump Cosmos-SDK from v0.46.12 to v0.46.13 (Barberry security patch)

Extended info about this emergency release

Quick instructions FOR TESTNET VALIDATORS

Mandatory to compile with go1.20.x

cd bcna
git fetch
git checkout v2.0.2-rc2
make clean && make build

If you run Cosmovisor:

mv build/bcnad $(which bcnad) && bcnad version && sudo service cosmovisor restart && sudo journalctl -fu cosmovisor -o cat

If you run BCNA daemon: (remove the first sudo if is not necessary)

sudo mv build/bcnad $(which bcnad) && bcnad version && sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Desired output log should include the new release info:

9:01AM INF ABCI Handshake App Info hash="ʠ�(�dB\x02�Nj���x�^�����\x12-�\x01\x17*�/ " height=2170336 module=consensus protocol-version=0 software-version=2.0.2-rc2

hash256sum

ec61def62f2038584e13cae1dcf0051242e24f5c929cdf6379ce823c8007956f bcna_darwin_arm64.tar.gz
ba26b3a2a929fe075e23bafefe0869338c54b9e1f7603f5052607fc87ef5f9ab bcna_linux_amd64.tar.gz

BitCanna v1.7.0 - `Vigorous-Grow-Huckleberry` codename

26 May 11:01
Compare
Choose a tag to compare

This release requires a governance proposal to start a new consensus because we bump IBC/go from v3.4.0 to v4.4.1

Halt height: 8771420
Estimated Target Date: Tue May 30 2023 15:47:39 CEST (13:47:39h UTC)
Cosmovisor Plan Name: vigorous-grow-huckleberry
version: v1.7.0
commit: 4d50e3da1f53363f0791cab885dd64892b70129d
branch: https://github.com/BitCannaGlobal/bcna/tree/v0.45-Huckleberry-patch

What's Changed

Applied patch against Huckleberry security alert

  • Bump Cosmos-sdk v0.45.16
  • Bump IBC-go/v4 v4.4.1
  • Bump CometBFT v0.34.28

Quick instructions

Download:

rm -rf bcna_linux_amd64.tar.gz # delete if exists
wget https://github.com/BitCannaGlobal/bcna/releases/download/v1.7.0/bcna_linux_amd64.tar.gz
sha256sum bcna_linux_amd64.tar.gz 
# Output: 3e4e4880f75139f903914d4045f5198826cd289f3f6634d9443aaff0df37ce68 
tar zxvf bcna_linux_amd64.tar.gz
rm bcna_linux_amd64.tar.gz
./bcnad version # --> v1.7.0

With Cosmovisor

mkdir -p $HOME/.bcna/cosmovisor/upgrades/vigorous-grow-huckleberry/bin
mv bcnad $HOME/.bcna/cosmovisor/upgrades/vigorous-grow-huckleberry/bin/
$HOME/.bcna/cosmovisor/upgrades/vigorous-grow-huckleberry/bin/bcnad version # --> v1.7.0

With BCNAD as service daemon

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

Compile:

cd bcna
git fetch 
git checkout v1.7.0
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/vigorous-grow-huckleberry/bin
mv build/bcnad $HOME/.bcna/cosmovisor/upgrades/vigorous-grow-huckleberry/bin/
$HOME/.bcna/cosmovisor/upgrades/vigorous-grow-huckleberry/bin/bcnad version # --> v1.7.0

With BCNAD as service daemon

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

SHA256 Checksums

760758927d8023d140fdf7c0d4903893cb4e05d1d7a17ce1cdf87f3b6453c7f3 bcna_darwin_arm64.tar.gz
3e4e4880f75139f903914d4045f5198826cd289f3f6634d9443aaff0df37ce68 bcna_linux_amd64.tar.gz
00a4920a4d6c697bb1154270776b97bcc45b0647b70cd9c65165872701655bb0 bcna_linux_arm64.tar.gz

Full Changelog: v1.6.3...v1.7.0

BitCanna v2.0.2-rc1 - Codename: `wakeandbake`

25 May 14:21
Compare
Choose a tag to compare

Those are the highlighted features/improvements/bug fixes:

  • Chore: go.mod, mandatory use go1.20.x
  • Security patch: bump IBC-go from v6.1.0 to v6.1.1
  • Chore: bump CometBFT v0.34.28

Quick instructions FOR TESTNET VALIDATORS

Mandatory to compile with go1.20.x

cd bcna
git fetch
git checkout v2.0.2-rc1
make clean && make build

If you run Cosmovisor:

mv build/bcnad $(which bcnad) && bcnad version && sudo service cosmovisor restart && sudo journalctl -fu cosmovisor -o cat

If you run BCNA daemon: (remove the first sudo if is not necessary)

sudo mv build/bcnad $(which bcnad) && bcnad version && sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Desired output log should include the new release info:

9:01AM INF ABCI Handshake App Info hash="ʠ�(�dB\x02�Nj���x�^�����\x12-�\x01\x17*�/ " height=2170336 module=consensus protocol-version=0 software-version=2.0.2-rc1

hash256sum

553091b8a7ec2968b6434fd3346ec5d11a9f5e045db9b9342bb9f2c57a3187e3 bcna_darwin_arm64.tar.gz
c2b3fad70679f39de56f746b2fa42e26f456311af71615390e7cf1bce0497744 bcna_linux_amd64.tar.gz

BitCanna v2.0.1 - Codename: `wakeandbake`

19 May 10:55
433cf71
Compare
Choose a tag to compare

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

Those are the highlighted features/improvements/bug fixes:

  • 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 FOR TESTNET VALIDATORS

Mandatory to compile with go1.20.x

cd bcna
git fetch
git checkout v2.0.1
make clean && make build

If you run Cosmovisor:

mv build/bcnad $(which bcnad) && bcnad version && sudo service cosmovisor restart && sudo journalctl -fu cosmovisor -o cat

If you run BCNA daemon: (remove the first sudo if is not necessary)

sudo mv build/bcnad $(which bcnad) && bcnad version && sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Desired output log should include the new release info:

9:01AM INF ABCI Handshake App Info hash="ʠ�(�dB\x02�Nj���x�^�����\x12-�\x01\x17*�/ " height=2170336 module=consensus protocol-version=0 software-version=2.0.1

SHA256sum

1859c8221bd1c5b14e727c8c864ccd0d2abe63d90aa512f044530b86632c69b5 bcna_darwin_amd64.tar.gz
4cb440d06abf9b5cfda3a7f1075d71956599cb650f77354bb06285d048a46a99 bcna_darwin_arm64.tar.gz
ec6cb38e6d2c19f4266f343aea6f1e043fa7c10f199eba543bccfe384a4804fe bcna_linux_amd64.tar.gz
524800aa02f71901c5d481bc226ceb569187bc818d1be29976548e7ee0a21722 bcna_linux_arm64.tar.gz

Full Changelog: v1.6.3...v2.0.1

BitCanna v2.0.1-rc9 - `wakeandbake_test2` codename

10 May 14:57
c831abd
Compare
Choose a tag to compare

Compatibility notes

version: 2.0.1-rc9 is compatible with previous v2.0.1-rc8 JUST COMPILE & REPLACE
commit: ee1771e2321d95695f2c217beac69644cb2a1555
Halt Height for the upgrade: NO NEW CONSENSUS REQUIRED
Upgrade PlanName: wakeandbake_test2 (Cosmovisor folder: .bcna/cosmovisor/current/bin/

What's Changed

  • 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))

Quick instructions

cd bcna
git fetch
git checkout v2.0.1-rc9
make clean && make build

If you run Cosmovisor:

mv build/bcnad $(which bcnad) && bcnad version && sudo service cosmovisor restart && sudo journalctl -fu cosmovisor -o cat

If you run BCNA daemon: (remove the first sudo if is not necessary)

sudo mv build/bcnad $(which bcnad) && bcnad version && sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Desired output log should include the new release info:

9:01AM INF ABCI Handshake App Info hash="ʠ�(�dB\x02�Nj���x�^�����\x12-�\x01\x17*�/ " height=2170336 module=consensus protocol-version=0 software-version=2.0.1-rc9

Full Changelog: v2.0.1-rc8...v2.0.1-rc9

BitCanna v2.0.1-rc8 - `wakeandbake_test2` codename

02 May 10:21
ee1771e
Compare
Choose a tag to compare

version: 2.0.1-rc8
commit: ee1771e2321d95695f2c217beac69644cb2a1555
Halt Height for the upgrade: --------
Upgrade PlanName: wakeandbake_test2
Estimated Target Date: Tue Apr 3rd 2023 14:00:00 GMT+0100 (16:00h CEST)

What's Changed

  • Check and avoid duplicates at Bitcannaid.bcnaid by @RaulBernal in #171
  • New endpoint for BCNA module /BitCannaGlobal/bcna/bcna/bitcannaid/bcnaid/{bcnaid}
  • Upgrade PlanName: wakeandbake_test2

Quick instructions

cd bcna
git fetch 
git checkout v2.0.1-rc8
make build # and move the binary to the path later (or make install)

With Cosmovisor

mkdir -p ${HOME}/.bcna/cosmovisor/upgrades/wakeandbake_test2/bin/
mv build/bcnad  ${HOME}/.bcna/cosmovisor/upgrades/wakeandbake_test2/bin/

Checksums

82effb37d0367933247542cf3290e5a771d6d75c4344f90f7229f7a7f2cd0aea bcna_darwin_arm64.tar.gz
0bc13d41618896eeaabf2828173af1e4daf5a68d469a09ab1b37ef8b8d97d499 bcna_linux_amd64.tar.gz

Full Changelog: v2.0.1-rc6...v2.0.1-rc8

BitCanna v2.0.1-rc7 - `wakeandbake` codename

24 Apr 07:12
Compare
Choose a tag to compare

What's Changed

  • Chore: Check and avoid duplicates at BitCannaID.Bcnaid
  • Bump BCNA module version to v2
git fetch
git checkout v2.0.1-rc7
make install

sha256sum

5cf7e888589d01c7a7a68bcc3d498d4a71bf8cd4e68071187382b5fe3e65f061 bcna_linux_amd64.tar.gz

Full Changelog: v2.0.1-rc6...v2.0.1-rc7

BitCanna v2.0.1-rc6 - `wakeandbake` codename

18 Apr 10:17
Compare
Choose a tag to compare

Compability note: This release is NOT compatible with v1.6.1, v1.6.2 or v1.6.3, so it's will require new consensus.

version: 2.0.1-rc6
commit: 4702c9d5e5843cb8a24d65715a21d7a9261a0acd
Halt Height for the upgrade: 1.831.901

Estimated Target Date: Tue Apr 18 2023 14:00:00 GMT+0100 (16:00h CEST)

What's Changed

  • Chore: Bump SDK version (v0.46.12)
  • Code refactor to deprecate Ignite OpenAPIConsole links
  • Refactor Gov Spam filter to reject v1 proposals, only

Quick instructions

Option 1. Download:

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

With Cosmovisor

You can already perform these steps before the chain halts.

Prepare the folders and binary

mkdir -p ${HOME}/.bcna/cosmovisor/upgrades/wakeandbake/bin/
mv bcnad ${HOME}/.bcna/cosmovisor/upgrades/wakeandbake/bin/

Check if everything is working properly:

cosmovisor run version # before upgrade should be: `v1.6.3`; **after upgrade** `v2.0.1-rc6`

With BCNAD as service daemon

sudo mv bcnad $(which bcnad)
bcnad version # --> v2.0.1-rc6
sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Option 2. Compile:

cd bcna
git fetch 
git checkout v2.0.1-rc6
make build # and move the binary to the path later

With Cosmovisor

mkdir -p ${HOME}/.bcna/cosmovisor/upgrades/wakeandbake/bin/
mv build/bcnad  ${HOME}/.bcna/cosmovisor/upgrades/vigorous-grow-fix/bin/

With BCNAD as service daemon

sudo mv build/bcnad $(which bcnad)
bcnad version # --> v2.0.1-rc6
sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Checksums

4a1083ebd7fc1f44116fcf675f25a357c026390254c8a306d0e1176221c31c89 bcna_darwin_amd64.tar.gz
6f6e62fc50152fb08bab18a18cdb1a8f457708fcce6d7bf6da68ca55154af5d9 bcna_darwin_arm64.tar.gz
f8ec636c9de50a2328bca1ed0ebc6bfbff33a019b7a2e2ddaa316582fee8fdfa bcna_linux_amd64.tar.gz

What's Changed

Full Changelog: v2.0.1-rc5...v2.0.1-rc6

BitCanna v1.6.3 - `Vigorous-Grow-fix` codename

29 Mar 06:32
4d50e3d
Compare
Choose a tag to compare

Compability note: This release is compatible with v1.6.1 & v1.6.2 , so no breaking changes requiring new consensus.

version: 1.6.3
commit: 4d50e3da1f53363f0791cab885dd64892b70129d

What's Changed

  • Chore: Bump SDK version (v0.45.15) & Comet-bft as Tendermint replacemnt (v0.34.27) by @RaulBernal in #162

Quick instructions

Download:

rm -rf bcna_linux_amd64.tar.gz # delete if exists
wget https://github.com/BitCannaGlobal/bcna/releases/download/v1.6.3/bcna_linux_amd64.tar.gz
sha256sum bcna_linux_amd64.tar.gz 
# Output: 21e7f032244362c0eeb43d477e39ab5b1f2ae12cd5b2799468444fb32f39da5e 
tar zxvf bcna_linux_amd64.tar.gz
rm bcna_linux_amd64.tar.gz
./bcnad version # --> v1.6.3

With Cosmovisor

mv bcnad $HOME/.bcna/cosmovisor/current/bin/bcnad
bcnad version # --> v1.6.3
sudo service cosmovisor restart && sudo journalctl -fu cosmovisor -o cat

With BCNAD as service daemon

sudo mv bcnad $(which bcnad)
bcnad version # --> v1.6.3
sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Compile:

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

With Cosmovisor

mv build/bcnad $HOME/.bcna/cosmovisor/current/bin/bcnad
bcnad version # --> v1.6.3
sudo service cosmovisor restart && sudo journalctl -fu cosmovisor -o cat

With BCNAD as service daemon

sudo mv build/bcnad $(which bcnad)
bcnad version # --> v1.6.3
sudo service bcnad restart && sudo journalctl -fu bcnad -o cat

Checksums

965518a2128e64c8626cf1f1ef8a541979e03f8aeb7c0431ca3f9441f40f1cd8 bcna_darwin_amd64.tar.gz
77dd260a854df93af5d81072ec975d463a9b7b1c01f9ca22ff3d6e9351a65085 bcna_darwin_arm64.tar.gz
21e7f032244362c0eeb43d477e39ab5b1f2ae12cd5b2799468444fb32f39da5e bcna_linux_amd64.tar.gz
4520a810daf4e617867df2f21fed4d2cb8ab5766a2f9df593ae5fbadfdc53c3a bcna_linux_arm64.tar.gz

Full Changelog: v1.6.2...v1.6.3