v21.4.0
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 sohead
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 theAccept: 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 labelssuccess
,failed
,timeout
.validator_duties_performed
with labelstype
andresult
.validator_event_stream_disconnections_total
which has areason
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.