github 0xPolygon/bor v2.13.0-beta5

pre-releaseone hour ago

v2.13.0-beta5 adds one fix on top of v2.13.0-beta4 and replaces it: after a chain rewind, a node could keep a deleted block in its in-memory block cache and then fail to import that block again until it was restarted (#2608).

  • What went wrong. A rewind deletes the rewound blocks and then clears the block cache. A read of one of those blocks that finished just before the delete could put the block back into the cache just after the clear. The import then took the block for one it already had and failed with missing td. Every retry failed the same way, so the node stayed at that height while its peers moved on.
  • The fix. After caching a block it has just read, the node checks that the block is still stored and drops the cache entry if it is not.
  • Who is affected. This is not new in v2.13.0: earlier releases have the same cache code. It needs a chain rewind and a read of the rewound block at the same moment, so it is rare, and a restart clears it.

This is a pre-release for testnet validation. Mainnet operators should wait for the stable v2.13.0. There is no schema change and no resync.

Salvador hardfork

Unchanged from v2.13.0-beta.

Network Fork block Time
Amoy 54483500 Activated Thu 2026-12-03, 13:58 UTC
Mainnet 98803800 Thu 2026-12-10, ~14:00 UTC (estimated)
  • Amoy nodes need to run v2.13.0-beta or later to follow the chain past the fork block.
  • Nodes that use the built-in amoy or mainnet chain need no config change. Nodes that start from a genesis file need the genesis-amoy.json or genesis-mainnet-v1.json attached to this release.

See the v2.13.0-beta release notes for the hardfork details and the full list of changes since v2.11.2, the v2.13.0-beta2 release notes for the witness pruning fix, the v2.13.0-beta3 release notes for the sequencer consumer fixes, and the v2.13.0-beta4 release notes for the /health options.

Operator notes

  • No config change and no new flags.
  • A node in this state stops advancing its head and repeats Synchronisation failed, dropping peer with missing td in its log. A restart recovers it on any version.

What's Changed

  • core: keep a block deleted by a rewind out of the block cache by @cffls in #2608

Full Changelog: v2.13.0-beta4...v2.13.0-beta5

Don't miss a new bor release

NewReleases is sending notifications on new releases.