Bor v2.7.1 for Amoy and Mainnet

Hi everyone,

We have released bor v2.7.1 which contains stability improvements, performance optimisations and some bug fixes.

This release contains EVM optimisations inspired from GEVM. The changes are behind a feature flag and can be enabled by setting --evm-switch-dispatch flag or evm-switch-dispatch = true in config.toml.

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.7.1 <network> <node_type>
    
    
  3. Check bor version

    /usr/bin/bor version
    
    # It should print 
    # v2.7.1
    
    
  4. Restart bor service

    sudo service bor start
    
    

Changelog

Features

Performance

  • core/blockstm: remove old UpdateDeps DAG algorithm by @kamuikatsurgi in #2168

  • ethdb, triedb: tune pebble write path and add safe pathdb state carry-over by @marcello33 in #2170

  • eth/protocols/eth: increase maxTxPacketSize from 100 KB to 1 MB by @lucca30 in #2160

  • Adjust SRC buffer from 500ms to 100ms by @cffls in #2179

Misc

Full Changelog: v2.7.0…v2.7.1

Docker Images

You can find the latest docker images here:

Bor: https://hub.docker.com/r/0xpolygon/bor/tags

Erigon: https://hub.docker.com/r/0xpolygon/erigon/tags

Thanks,

Polygon Team