Hi all, we have released a new version of bor, v2.1.0-beta
Note: This is a beta release and is not intended for mainnet deployments. It includes preparatory changes for the upcoming Bhilai Hard Fork. Final activation parameters (e.g., fork block for Amoy) will be provided in a follow-up release.
This release contains some breaking changes to the database. Downgrading to previous versions requires re-syncing the chain.
Bhilai Hard Fork Preparation
- This release includes all protocol changes for the Bhilai Hard Fork.
- The fork is not yet active. A future release will specify the Amoy fork block and finalize the activation parameters.
Database Format Change
- The database version has been increased from v8 to v9.
- This is a backward-incompatible change. After upgrading to this version, rolling back to a previous version will require a resync from genesis.
Chain Rewind Behavior
- On upgrade, the node will enter a head-state missing state and will rewind several hundred thousand blocks. This is expected and part of the upgrade path.
- If operating a network of connected nodes:
- Upgrade the nodes one by one.
- This allows each rewound node to sync from its still-synced peers, reducing load on external RPCs.
Note: It would be best to upgrade Bor in the validator node when the validator is not in the current selected_producers
set by referring to one span before https://heimdall-api-amoy.polygon.technology/bor/latest-span
Eg if the latest span has "span_id":
3516
,
, then check https://heimdall-api-amoy.polygon.technology/bor/span/3515 and then upgrade.
Gas Limit Adjustment
- The block gas limit will be increased to 45 million after deploying this version.
- This is a non-hard-fork change and will apply immediately upon deployment of this release.
Steps for upgrading Bor node
-
Stop bor service
sudo service bor stop
-
Install Bor with a version tag, network name (amoy), 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.1.0-beta amoy <node_type>
-
Check bor version
/usr/bin/bor version # It should print # v2.1.0-beta
-
Restart bor service
sudo service bor start
What’s Changed
- PIP-58: Increase BaseFeeChangeDenominator to 64 by @pratikspatil024 in #1547
- PIP-60: Increase gas limit to 45M by @pratikspatil024 in #1548
- eth_getTdByNumber method by @lucca30 in #1552
- consensus/bor: allow early block announcements by @manav2401 in #1545
- Upstream Merge v1.15.7 by @pratikspatil024 in #1528
- Upstream Merge v1.15.11 by @pratikspatil024 in #1550
Full Changelog: v2.0.4-beta…v2.1.0-beta