Bor v2.0.4-beta release for Amoy

Hello All,

New version of bor v2.0.4-beta has been released for Polygon Amoy containing upstream merge from geth, few bug fixes, and improvements.

It contains upstream merge from geth including releases Gei Hinnom (v1.14.12) and Schwarzschild (v1.14.13).

Snap sync

It enables a long time due feature, the snap syncing mechanism. Snap sync instead of re-executing all blocks (like in full sync) downloads the recent most state and chain data from it’s peer(s) (trusting them to deliver correct data) making the syncing time from scratch significantly less. Initial benchmarks on a n2d-standard-8 (8 vCPUs, 32 GB Memory) with an SSD disk shows ~30 hours of sync time on Polygon mainnet at the time of this release. More details about snap sync can be found here. Note that the node should be started with PBSS + PebbleDB in order to be able to use snap sync. To get started, set the syncmode flag to snap.

This release also makes consensus verification in bor stateless to enable full stateless block verification in future and also support snap sync.

Steps for upgrading Bor node

  1. Stop bor service

    sudo service bor stop
    
  2. Install Bor with a version tag, network name (amoy, mainnet), and node type (sentry, validator, or archive).

    # Replace the node type
    curl -L https://raw.githubusercontent.com/maticnetwork/install/main/bor.sh | bash -s -- v2.0.4-beta <network> <node_type>
    
  3. Check bor version

    /usr/bin/bor version
    
    # It should print 
    # v2.0.4-beta
    
  4. Restart bor service

    sudo service bor start
    

What’s Changed

New Contributors

Full Changelog: https://github.com/maticnetwork/bor/compare/v2.0.3...v2.0.4-beta

Great to see Bor v2.0.4-beta live for Amoy! :rocket: Snap sync is a game-changer—much faster node setup with ~30 hrs sync time on mainnet. Plus, big steps toward stateless verification and key bug fixes. Kudos to the team for the upstream Geth merges and ongoing improvements! :wrench: #Polygon #Bor #SnapSync