From v0.17.0 to v0.18.0

This guide is exclusively for Validators and Node Operators, please pay Maximum attention and Perform a backup before upgrading!

Ensure Minimum Gas Config is set

export DAEMON_HOME=$HOME/.bitsongd
sed 's/^minimum-gas-prices = .*/minimum-gas-prices = "0.01ubtsg"/' $DAEMON_HOME/config/app.toml > temp_file && mv temp_file $DAEMON_HOME/config/app.toml

Stop of the node

The node will automatically stop at block height 19818776 approximately at 2024-11-29 16:52:00 UTC. The log file will indicate that in order to continue, you must replace the bitsongd binary. At that point you can finish the bitsongd process.

sudo systemctl stop bitsongd
sudo systemctl disable bitsongd

Backup

In the event that the update is unsuccessful, you will need to restore the previous status and install a future patch (example v0.18.x).

In order to perform the backup, you just need to copy the content present on the home directory of go-bitsong, in this case ~/.bitsongd

Remember to have at least 50% free disk space

cp -Rv ~/.bitsongd ~/backup_bitsongd_0180

This operation should take 5/10 minutes, however, in the event that you're using low performance servers, the process might take up to 30/40 minutes.

Verify that you are currently running the correct version (v0.17.0) of bitsongd:

Make sure your chain halts at the right block: 19818776

then restart your node systemctl restart bitsongd

After the chain has halted, make a backup of your .bitsongd directory

NOTE: It is recommended for validators and operators to take a full data snapshot at the export height before proceeding in case the upgrade does not go as planned or if not enough voting power comes online in a sufficient and agreed upon amount of time. In such a case, the chain will fallback to continue operating bitsong-1.

Update Go

Option A: Install Go-Bitsong binary

Verify you are currently running the correct version (v0.18.0) of the go-bitsong:

Option B: Downloading Verified Build:

Last updated