github Consensys/teku 21.4.1
v21.4.1

latest releases: 24.10.3, 24.10.2, 24.10.1...
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.
  • The default docker image will be updated to Java 16 in an upcoming release.

Additions and Improvements

  • Early access: Support for automatic fail-over of eth1-endpoints. Multiple endpoints can be specified with the new --eth1-endpoints CLI option. Thanks to Enrico Del Fante.
  • Basic authentication is now supported for --initial-state. Infura can now be used as the source of initial states with --initial-state https://{projectid}:{secret}@eth2-beacon-mainnet.infura.io/eth/v1/debug/beacon/states/finalized
  • Implement standard rest api /eth/v2/beacon/blocks/:block_id which supports altair blocks. Documented under 'Experimental' endpoints until more widely implemented.
  • Implement teku rest api to retrieve all blocks at a slot /teku/v1/beacon/blocks/:slot, which will return both canonical and non-canonical blocks at a given slot.

Bug Fixes

  • Fixed issue where attestation subnets were not unsubscribed from leading to unnecessary CPU load when running small numbers of validators.
  • Fixed issue where validator duties were not invalidated in response to new blocks correctly when using dependent roots.
  • Fixed issue where exit epoch for voluntary exits would be incorrectly calculated.

Downloads

  • Available as 21.4.1 on Dockerhub
  • Download the binary distribution:
    • tar.gz (sha256: b6401da87884666fd87741e8c734cf1f51a94d7bd40ca10346fa31134be781eb)
    • zip (sha256: b80750242549571ab2498a7ad49dc2080a5047548d8b6e20a05718af6f9749c3)

Don't miss a new teku release

NewReleases is sending notifications on new releases.