maticnetwork/bor - v2.2.9

Published: Jul 17, 2025

Release Summary

This release, v2.2.9, brings several crucial bug fixes and improvements focused on node stability and performance. It is recommended to upgrade your Mainnet and Amoy nodes to this version.


Major Stability and Reorg Fixes

This update significantly enhances node stability, especially for validators. Key fixes address critical deadlock and panic issues that could occur in the miner during block production, particularly following a milestone-triggered reorganization. This prevents nodes from getting stuck and ensures they can continue functioning correctly after a reorg.

Another important fix resolves a potential state inconsistency during milestone verification. Previously, a node on a fork could fail to find a common ancestor, causing it to get stuck on the wrong chain. The new logic ensures nodes can correctly realign with the canonical chain.


New Configuration Flags for Data Retention

New flags have been added to give node operators more control over historical data retention, aligning Bor with upstream Geth. You can now use the following flags:
- `history.transactions`
- `history.logs`
- `history.state`

Please note that the `txlookuplimit` flag is now deprecated and will be fully replaced by `history.transactions` in a future release.


Performance and Other Improvements

- Commit Interrupt Optimization: The logic for interrupting block building to prevent delays has been refactored. This change significantly reduces CPU usage during the process, especially for blocks with a high gas limit.
- GRPC Startup Fix: A race condition at startup that could cause a panic if a GRPC call was made immediately after starting Bor has been resolved.
- Updated Fake Signer: The internal fake signer for pre-EIP-155 transactions has been updated from London to Prague.
- Cleaner Logs: An unnecessary "Impossible reorg" log that could appear has been removed to improve log clarity.

Release Notes

This release contains a few bug fixes and improvements. It is recommended to upgrade your Mainnet and Amoy nodes to this version.

## What's Changed
* eth: fix canonical chain state inconsistency in checkpoint verifier by @cffls in https://github.com/maticnetwork/bor/pull/1593
* chore: improve smoke tests by @kamuikatsurgi in https://github.com/maticnetwork/bor/pull/1602
* v2.2.5 - backport to develop by @pratikspatil024 in https://github.com/maticnetwork/bor/pull/1615
* core/types: bumped fakesigner from london to prague by @pratikspatil024 in https://github.com/maticnetwork/bor/pull/1616
* Add historical data retention related flags by @manav2401 in https://github.com/maticnetwork/bor/pull/1580
* chore: fix some minor issues in the comments by @gopherorg in https://github.com/maticnetwork/bor/pull/1599
* Refactor and optimise commit interrupt by @manav2401 in https://github.com/maticnetwork/bor/pull/1570
* backport v2.2.8 by @pratikspatil024 in https://github.com/maticnetwork/bor/pull/1634
* Stop miner when reorg from milestone by @cffls in https://github.com/maticnetwork/bor/pull/1635
* core: added a check which prevents the unnecessary Impossible reorg log by @pratikspatil024 in https://github.com/maticnetwork/bor/pull/1636
* miner: fix deadlock and panic issues in block production by @cffls in https://github.com/maticnetwork/bor/pull/1639
* Start GRPC server after backend assignment by @lucca30 in https://github.com/maticnetwork/bor/pull/1637
* v2.2.9 by @pratikspatil024 in https://github.com/maticnetwork/bor/pull/1644

## New Contributors
* @gopherorg made their first contribution in https://github.com/maticnetwork/bor/pull/1599

**Full Changelog**: https://github.com/maticnetwork/bor/compare/v2.2.8...v2.2.9

Links

Back to maticnetwork/bor releases