V0.2.16 Upgrade for Bor

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 Mumbai nodes to the latest version (https://github.com/maticnetwork/bor/tree/v0.2.16)

  1. Stop the bor service

    sudo service bor stop
    
  2. Navigate to bor directory

    cd ~/bor
    
  3. Fetch the latest changes and use Bor v0.2.16:

    git fetch
    git checkout v0.2.16
    
  4. Build latest changes

    make bor-all
    
  5. Now check bor version

    bor version
    
    Bor
    Version: 0.2.16-stable
    Git Commit: f083705e00b6497e575a6e6c800aad661a4a2eca
    Architecture: amd64
    ...
    
  6. Start the bor service

    sudo service bor start
    
  7. Check for bor logs if everything is working fine

    journalctl -u bor -f
    

Let us know if you have any questions.

Thank you.

1 Like