Upcoming Breaking Changes
- Teku currently publishes a
headevent 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 soheadevent is only published when a new
chain head block is imported. The--Xvalidators-dependent-root-enabledoption 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_idendpoint has been deprecated in favor of the standard API/eth/v1/debug/beacon/states/:state_idwhich now returns the state as SSZ when theAccept: application/octet-streamheader 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_requestswith labelssuccess,failed,timeout.validator_duties_performedwith labelstypeandresult.validator_event_stream_disconnections_totalwhich has areasonlabel. The reason will be one of (disconnect, connect, error, timeout, invalidEvent).validator_event_stream_invalid_events_totalcounts 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 headerror.