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
- 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
.