Bor v1.1.0 Mainnet Release

Hello All,

We are releasing a new version of Bor v1.1.0 for Mainnet. This release contains contains Agra Hardfork(details below). This will hardfork the Bor Mainnet network at block 50523000 which will be mined on 29th November 2023 (approx). A new release of Erigon that supports the hardfork changes will be released in a few days.

Please note that this is a mandatory release for Mainnet nodes running Bor client.

Instructions to Upgrade Bor

  1. Stop Bor service

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

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

    /usr/bin/bor version
    
    # It should print 
    # v1.1.0
    
  4. Restart bor service

    sudo service bor start
    

What’s Changed

In this version, we implement changes for Agra Hardfork. The changes include selected Shanghai EIPs (EIP-3651: Warm COINBASE 1, EIP-3855: PUSH0 instruction 2, EIP-3860: Limit and meter initcode 1, EIP-6049: Deprecate SELFDESTRUCT 2), StateSyncReceiver Contract Bytecode changes, New EIP1559 burn contract address change.

Breaking changes

Bor will now overwrite the config.toml flag values if the flag is explicitly set via cli arguments. This is a breaking change only for those using a combination of both as flags provided by cli arguments will be prioritised above config.toml values. Earlier config.toml flag values were prioritised.

The order of flag will now be as follows:

  1. If set in cli args, use that value
  2. If not set in cli args and set in config, use that value
  3. If not set in any of them, use default value

Example:

If the toml config looks something like this:


chain = "mainnet"
identity = "Anon"
datadir = "config_datadir"
### More values

and the user runs the following command


bor server --config=config.toml --datadir=cli_datadir

Until now, bor would set the datadir the value mentioned in config i.e. config_datadir.

With this version onwards, the value set for datadir would be cli_datadir.

What’s Changed

Docker Images

You can find the latest docker images here:

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

Thanks,

Polygon Team