V0.2.16 Upgrade for Bor on Mainnet

Update: State-Sync Transactions [Action Required]

Changelog:

  • Added optimization in retry based state-sync fetch mechanism (upgrade over v0.2.16-beta2)

Steps for updating the go version to 1.18.1 (if not already done):

  1. SSH into your node
  2. Download the installation script (OS/platform independent)
wget https://raw.githubusercontent.com/maticnetwork/node-ansible/master/go-install.sh
  1. Remove the previous go version
bash go-install.sh --remove
  1. Install go v1.18.1
bash go-install.sh
  1. Verify the installation
go version

# you should see go1.18.1 in the output:
# go version go1.18.1 linux/amd64

Please follow the steps below to upgrade bor on your Mainnet nodes to the latest version (https://github.com/maticnetwork/bor/tree/v0.2.16 )

  1. Stop the bor service
sudo service bor stop
  1. Navigate to bor directory
cd ~/bor
  1. Fetch the latest changes and use Bor v0.2.16:
git fetch
git checkout v0.2.16
  1. Build latest changes
make bor-all
  1. Now check bor version
bor version

Bor
Version: 0.2.16-stable
Git Commit: f083705e00b6497e575a6e6c800aad661a4a2eca
Architecture: amd64
...
  1. Start the bor service
sudo service bor start
  1. Check for bor logs if everything is working fine
journalctl -u bor -f

Let us know if you have any questions.

Thank you.

2 Likes

To clarify: This upgrade comes recommended. It is not tied to a hardfork and there is no specific deadline. Is that right?

1 Like

That’s right, this is not a hardfork and there is no deadline.

2 Likes