Skip to content

21.5.0

Compare
Choose a tag to compare
@ajsutton ajsutton released this 12 May 00:07
· 3088 commits to master since this release
7f81050

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

  • Newly created databases will now use LevelDB for storage instead of RocksDB. This uses less memory and has proven to be more stable. Existing databases are unaffected and will continue to use RocksDB.
  • 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.
  • Add experimental endpoint for retrieving peer gossip scores at /teku/v1/nodes/peer_scores.
  • Continued work on supporting Altair including adding a number of experimental REST APIs. These are subject to change as the Altair spec continues to evolve.

Bug Fixes

  • Error messages logged when the validator client fails to perform duties now include a complete list of affected validators.
  • Fix bug where a REST API request with a missing host header would result in a NullPointerException.

Downloads

  • Available as 21.5.0 on Dockerhub
  • Download the binary distribution:
    • tar.gz (sha256: 472d5a25f7186ef0c54e02f24dd7624b5c902f4ce0cb3623ce2e39498b55ff89)
    • zip (sha256: a3dd453a7d149849618fa9edc57f96f3f8b02a9ae3949f08f0dddce98e2d5b67)