Bor Upgrade v0.2.9

In this release, we have fixed the memory leak issue in bor, added network flags that can be used while invoking bor and few other minor changes. You can view more details here: https://github.com/maticnetwork/bor/releases/tag/v0.2.9

Instructions to Upgrade

  1. SSH to your sentry and validator nodes and upgrade golang to version 1.17:
wget https://gist.githubusercontent.com/ssandeep/a6c7197811c83c71e5fead841bab396c/raw/5866fbd95fe3d9eae7bae08a842240d2edbe489e/go-install.sh
bash go-install.sh --remove
bash go-install.sh
  1. Ensure go version is 1.17:
$ go version

# you should see go1.17 in the output:
go version go1.17 linux/amd64
  1. Navigate to the bor directory:
cd ~/bor
  1. Fetch the latest changes and switch to v0.2.9:
git fetch
git checkout v0.2.9
  1. Stop bor and build the latest code:
sudo service bor stop
make bor-all
  1. Check bor version:
bor version

and ensure it is as below:

Bor
Version: 0.2.9-stable
  1. Start bor:
sudo service bor start

Let us know if you have any questions.

Thank you.

1 Like