Upcoming Breaking Changes
- 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.
Breaking Changes
- Teku no longer publishes a
headevent on the REST API 4 seconds into a slot if a block has not been received.
The--Xvalidators-dependent-root-enabled=falseoption can be used to restore the old behaviour.
Note: this should be applied to both the beacon node and validator client if running separately.
Additions and Improvements
- Added
migrate-datasubcommand to allow users to migrate to a leveldb relatively easily without requiring a full re-sync. - Improved compatibility of the validator client with other beacon nodes using the REST API by using
thedependent-rootfield to detect re-orgs instead of depending on the beacon chain publishing re-org events when empty slots are later filled.
Bug Fixes
- Fix an issue where new peers would not be found after a network outage.
- Fix a file handle leak in jvm-libp2p.
- Fix
previous_epoch_participationandcurrent_epoch_participationrepresentation in
/eth/v2/debug/beacon/states/:state_idso that it comes back as an array rather than a byte string. /eth/v1/beacon/pool/sync_committeesincorrectly returned 503 when there were no errors instead of 200.- Fix an issue where deposits for the PoW chain could be loaded out of order on restart.
- Fix
/eth/v1/validator/contribution_and_proofsto return errors. - Add
SYNC_COMMITTEE_SUBNET_COUNTto/eth/v1/config/spec, as it was missing.