Breaking Changes
- The events api
/eth/v1/events-blockevent now returns the slot and root as detailed in the standard API specification, instead of the entire block.
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
- When downloading the
--initial-statefrom a URL, theAccept: application/octet-streamheader is now set. This provides compatibility with the standard API/eth/v1/debug/beacon/states/:state_idendpoint. --ws-checkpointCLI now accepts a URL optionally, and will load thews_checkpointfield from that URL.- Reduced CPU usage by avoiding creation of REST API events when there are no subscribers.
Bug Fixes
- Fixed issue in discv5 where nonce was incorrectly reused.
- Block events now only return the slot and root, rather than the entire signed block.