github 0xPolygon/bor v2.13.0-beta4

pre-releaseone hour ago

v2.13.0-beta4 adds one change on top of v2.13.0-beta3 and replaces it: /health can report a node that has fallen behind its peers, and can answer with HTTP 503 when its status is critical (#2586). Both are off by default, so a node that doesn't set the new options behaves as on v2.13.0-beta3.

  • Head age check. With health.max-head-age set, /health turns critical when peers hold a newer block than the node's head and that head is older than the configured age. A stale head alone doesn't count: when the chain itself stops producing blocks no peer is ahead, and the node stays healthy. catching_up doesn't cover this case, because it only reflects the initial sync.
  • HTTP 503 on a critical status. The [health] thresholds only change the status in the response body, and the HTTP status stays 200. With health.critical-returns-503 set, a critical status answers HTTP 503, so a load balancer that only reads the HTTP status can take the node out of rotation.
  • New fields. node_info in the /health response gains latest_block_age_ms, highest_known_block and blocks_behind.

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 Estimated time
Amoy 54483500 Thu 2026-12-03, ~14:00 UTC
Mainnet 98803800 Thu 2026-12-10, ~14:00 UTC
  • Amoy nodes need to run v2.13.0-beta or later before the fork block. Nodes on an older version stop following the chain there.
  • 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, and the v2.13.0-beta3 release notes for the sequencer consumer fixes.

Operator notes

  • Two new settings, both off by default:

    [health]
      max_head_age = "0s"          # for example "10s"; 0 disables the check
      critical_returns_503 = false

    The matching flags are --health.max-head-age and --health.critical-returns-503.

  • critical_returns_503 applies to every critical status, not only the head age check. A node that also sets min_peer_threshold or max_goroutine_threshold answers 503 when those are crossed.

  • Set max_head_age to several block times, so that one slow block doesn't take the node out of rotation.

  • A load balancer has to probe /health over HTTP to use this. A TCP check on the RPC port doesn't see the status.

What's Changed

  • internal/cli: fail /health on a stale head and optionally return 503 by @adamdossa in #2586

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

Don't miss a new bor release

NewReleases is sending notifications on new releases.