This release of Bor brings several important bug fixes and improvements focused on node stability and performance. It is recommended for all Mainnet and Amoy node operators to upgrade.
Key Stability and Performance Enhancements:
Critical Reorg and Miner Stability Fixes:
This version addresses several critical issues that could cause validator nodes to get stuck or deadlock. A major fix resolves a problem where mining nodes could freeze for hours following a milestone-triggered reorg. Related improvements ensure the miner is properly stopped during a reorg and that nodes can correctly find a common ancestor chain after a milestone, preventing them from getting stuck on an incorrect fork.
Block Production Optimization:
The commit interrupt mechanism, which stops block building to ensure timely block announcements, has been refactored. By replacing a frequent check with a more efficient atomic flag, this change significantly reduces CPU usage during the block building process, especially for blocks with a high gas limit.
New Historical Data Retention Flags:
New flags have been added to give node operators more control over historical data retention for transactions and state, aligning Bor more closely with Geth's configuration options. The old --txlookuplimit
flag is now deprecated in favor of the new --history.transactions
flag and will be removed in a future release.
Additional Bug Fixes:
A race condition that could cause the gRPC server to panic on startup has been resolved.
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