Upcoming Breaking Changes
- The default docker image will be updated to Java 15. Java 15 based images are available now for testing with the
-jdk15
suffix (e.gconsensys/teku:develop-jdk15
) - 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. - Docker images are now being published to
consensys/teku
. Thepegasys/teku
images will continue to be updated for the next few releases but please update your configuration to useconsensys/teku
. --validators-key-files
and--validators-key-password-files
have been replaced by--validator-keys
. The old arguments will be removed in a future release.
Additions and Improvements
--validators-external-signer-public-keys
arguments can now include URLs to load the public keys from. The URL should provide a list of public keys as a JSON array.- Added support for
block
,attestation
andvoluntary_exit
event streams from the standard REST API. - If an advertised IP is set via
--p2p-advertised-ip
it is always used, regardless of the external IP discovered via the discv5 process.
Bug Fixes
- Restored the state cache size to 160 to improve performance during sync.
- Fixed help text for
--validators-graffiti-file
to refer to--validators-graffiti
as the fallback not--graffiti
. - Fixed validator client timeout when reading from the event stream to avoid unnecessary reconnections.
- Reduced bandwidth usage during a forward sync by skipping requesting parents of blocks received via gossip as they are likely to be retrieved via the forward sync more efficiently.
- Error conditions which prevent Teku from starting, such as being unable to load validator keys, are now reported to both the log and system error to make them more likely to be seen.