github Consensys-Incorporated/teku 26.11.0

54 minutes ago

This is a recommended update containing improvements and bug fixes.

Downloads

  • Available as 26.11.0 on Dockerhub
  • Download the binary distribution:
    • tar.gz (sha256: 4ecdc8fef6226bd05f7c2a4f3338fb53f5b20feb77646e4758c50dabcf223c5b)
    • zip (sha256: e75dff03e7f7f596f6c493d5f8faa3ef23731fdd307823da01a6fef16f270451)

Breaking Changes

N/A

Additions and Improvements

  • Lowered the CPU used by the gossip event thread to recognise duplicate gossip messages, which grows with the number of connected peers. #11549
  • Updated discovery library to 26.10.1, which speeds up secp256k1 operations used by node discovery. #11541
  • Gossip signature verification now gathers larger batches and verifies signatures over the same message together, lowering CPU usage at the cost of up to ~10 ms added gossip validation latency. Use --Xp2p-batch-verify-signatures-mode=LEGACY to restore the previous batching behaviour. In both modes, signatures re-verified after a failed batch now honour --Xp2p-batch-verify-signatures-strict-thread-limit-enabled and a task that throws no longer fails the rest of its batch.
  • Payload attestation message signatures are now verified in batches by the gossip signature verification service, off the gossip thread, instead of one at a time.
  • Teku-generated Gloas genesis states now follow the consensus-specs and eth-beacon-genesis layout: the genesis execution payload bid's block hash is zero, so the genesis block is EMPTY and interop genesis states are interchangeable with those produced for Kurtosis. The synthetic genesis execution payload Teku seeded at startup is no longer needed and has been removed. Gloas genesis states and beacon node databases created by earlier Teku versions (interop devnets) use the previous layout and must be regenerated; a node started on one now stops at startup with a message saying so. #11545
  • Added the Gloas beacon API endpoints GET /eth/v1/beacon/states/{state_id}/builder_pending_withdrawals and GET /eth/v1/beacon/states/{state_id}/builder_pending_payments. #11544
  • Added the GET /eth/v1/beacon/proposer_preferences Gloas Beacon API endpoint, which returns the signed proposer preferences known by the node, optionally filtered by slot and dependent_root. #11548
  • teku slashing-protection repair --update-all-enabled now also creates a slashing protection record for every validator key that doesn't have one. Without a record, the validator client treats a key as never having signed, for example after migrating validators without their slashing protection data. Keys are read from the key-manager directories, from --validator-keys and from public keys listed in --validators-external-signer-public-keys, including from --config-file. Keystores are not decrypted, and public keys given as a URL or as external-signer are not fetched and are reported as not checked. Without --update-all-enabled, keys without a record are only listed. repair --help no longer lists options that repair accepts but doesn't use, such as the external signer URL and TLS options. #11622

Bug Fixes

  • Reject peer status messages with head slots more than one slot ahead of the local clock, preventing invalid peer heads from keeping a synced node in SYNCING and blocking validator duties. #11615
  • Limited validator client beacon node event stream frames to 8 MB by default to prevent oversized or unterminated events from exhausting the heap. The hidden --Xvalidator-client-event-stream-max-event-size option adjusts the limit or disables it when set to 0. #11600
  • Validator clients now reject Beacon Node REST API responses larger than 64 MB after decompression to prevent unbounded response buffering. The hidden --Xvalidator-client-beacon-api-max-response-size=<MEGABYTES> option adjusts this per-response limit or disables it when set to 0 (event streams are excluded). #11602
  • teku slashing-protection repair --update-all-enabled no longer removes the genesis validators root from the records it raises, which turned off the wrong-network signing check for those keys until they next signed. When it computes the slot itself, repair now stops without changing anything if existing records belong to a different network than --network. --slot no longer downloads the network's initial state, and a network configured with only --genesis-state can now compute its slot. #11621
  • MEV-Boost bids exceeding the slot's blob commitment limit now trigger fallback to the local execution payload instead of failing block production. #11614
  • With doppelganger detection enabled, Teku no longer starts validator duties after a 15-minute beacon-node outage without checking for doppelgangers. Detection remains pending and retries until the beacon node provides the required data. #11598
  • Close an inbound RPC stream when its response cannot be written, instead of half-closing it. Over QUIC a peer that cancelled its request (STOP_SENDING) refuses our FIN, so such streams stayed open until the peer disconnected and could exhaust the node-wide limit of 128 inbound RPC streams, after which every other peer's requests were rejected.
  • Data column sidecars received over DataColumnSidecarsByRoot and DataColumnSidecarsByRange must now be encoded with the fork digest of the fork active at their slot, and Gloas sidecar validation always takes the blob KZG commitments from the block's execution payload bid. #11575
  • The fee recipient of a Gloas block now comes from signed proposer preferences, so preferences that fail validation no longer change where the block pays, and prepare_beacon_proposer is ignored once Gloas is active. #11518
  • Reduced the memory held by gossip blocks waiting for validation, limited their total size, and blocks too far in the future are now ignored before they are decoded. #11503
  • The node's ENR no longer advertises a TCP port when the TCP transport is disabled (--Xp2p-tcp-enabled=false), so peers stop dialing a port nothing listens on. #11454
  • Block production now recovers within the slot when the engine_forkchoiceUpdated call it relies on fails, sending a new forkchoiceUpdated instead of returning the earlier failure. #11488
  • Slashing protection imported through the keymanager API for a key that was deleted earlier in the same run is now used when the key is re-imported, instead of being overwritten by the record cached before the delete. Slashing protection sent with a keystore that is already loaded is no longer applied, matching the duplicate response. #11388
  • ExecutionPayloadEnvelopesByRange only serves envelopes of payloads that are part of the chain defined by the current head, as required by the spec. Envelopes of finalized blocks whose payload the chain did not build on are no longer retained, and such envelopes received while syncing are dropped instead of imported. Such envelopes already persisted by earlier versions are not removed, which only affects Gloas devnet nodes upgraded in place. #11246
  • The OpenAPI documentation for the pending_deposits, pending_partial_withdrawals, pending_consolidations and proposer_lookahead state endpoints now lists 406 Not Acceptable instead of 415 Unsupported Media Type, as in the beacon-API spec. #11558
  • A peer can no longer stop the node from serving req/resp requests by leaving inbound streams open. An inbound RPC stream now holds its slot for at most two minutes, and is closed if it is still open five seconds after the node has finished sending its response; a single peer can hold at most 16 of the 128 node-wide inbound stream slots. A response that takes longer than two minutes to send is cut off. New metrics rpc_inbound_streams_active, rpc_inbound_streams_rejected_total{reason} and rpc_inbound_streams_expired_total{reason} show the slots in use, the streams turned away and the streams closed by a deadline.
  • DataColumnSidecarsByRange requests for slots whose data column sidecars were already pruned no longer scan the pruned range in the database. Such requests could take minutes and occupy the storage query slots shared by all req/resp requests, delaying responses to every peer. #11584
  • Fixed data column sidecars going permanently missing from custody when the custody group count grows to all groups, e.g. on a supernode shortly after checkpoint sync. Column reconstruction now stores every column it rebuilds that was not already in custody. #11609
  • With --data-storage-non-canonical-blocks-enabled, blob sidecars of non-canonical blocks are now pruned once they leave the data availability window. Previously most of them were never pruned and stayed in the database. #11639

Upcoming Breaking Changes

  • Teku will stop publishing the -jdk26 Docker images in a future release, because Java 26 is end of life and no longer receives security fixes. Use the -jdk25 tags instead.

Don't miss a new teku release

NewReleases is sending notifications on new releases.