github Consensys/teku 21.4.0
v21.4.0

latest releases: 24.4.0, 24.3.1, 24.3.0...
3 years ago

Upcoming Breaking Changes

  • Teku currently publishes a head event on the REST API 4 seconds into a slot even if a block has not been received. In a future release this will be changed so head event is only published when a new
    chain head block is imported. The --Xvalidators-dependent-root-enabled option can be used to switch to the new behaviour now for testing.
    Note: this should be applied to both the beacon node and validator client if running separately.
  • The /teku/v1/beacon/states/:state_id endpoint has been deprecated in favor of the standard API /eth/v1/debug/beacon/states/:state_id which now returns the state as SSZ when the Accept: application/octet-stream header is specified on the request.

Additions and Improvements

  • Optimised validation of aggregate gossip messages to reduce CPU usage.

  • Upgraded to use BLS implementation BLST version 0.3.3.

  • Teku now waits for Eth1 nodes to finish syncing before requesting data from them. Thanks to Enrico Del Fante.

  • Reduced CPU usage required when processing gossip message by optimising peer scoring.

  • Added new metrics to Validators

    • validator_external_signer_requests with labels success, failed, timeout.
    • validator_duties_performed with labels type and result.
    • validator_event_stream_disconnections_total which has a reason label. The reason will be one of (disconnect, connect, error, timeout, invalidEvent).
    • validator_event_stream_invalid_events_total counts the number of invalid events found on the event stream.
  • Early access: LevelDB based database to reduce native memory usage and disk space.

    Currently, can only be used from a new database by specifying --Xdata-storage-create-db-version leveldb2. This will become the default new database format in future releases.
    Migration for existing database will be added in a future release.

Bug Fixes

  • Fixed ProtoArray: Best node is not viable for head error.

Downloads

  • Available as 21.4.0 on Dockerhub
  • Download the binary distribution:
    • tar.gz (sha256: 44902d1f9783e98c1c0ca468576dc0fb64330a24453a24c60a5d63b4f63a7475)
    • zip (sha256: 2fd0731ca2bc524a3c26f83d3d4d27a1fb3ef2d5959b0f45d935fde2876e3149)

Don't miss a new teku release

NewReleases is sending notifications on new releases.