This is a release candidate containing improvements to post-merge performance issues on MainNet that has received less testing than our normal releases.
MainNet users should only upgrade if they are confident in their ability to rollback if required. We encourage all testnet users to upgrade to assist with testing.
Downloads
- Available as
22.9.1-RC1on Dockerhub - Download the binary distribution:
Breaking Changes
- The
--initial-stateand--eth1-deposit-contract-addressoptions has been removed from thevalidator-clientsubcommand. They have been ignored for some time but are now completely removed. - LevelDB configuration has been changed to increase the maximum number of files it may open at a time. Systems with low open file handle limits may encounter issues.
We recommend at least 2048 file handles or preferably unlimited. Theulimitcommand can be used to check and configure file handle limits.
Additions and Improvements
- Enables asynchronous database updates by default. This ensures slow disk access or LevelDB compactions don't cause delays in the beacon node. Can be disabled if needed via
--Xdata-storage-async-enabled=false - Increased leveldb open files to 1000 files by default. If teku fails to start, update maximum open files to 2048 or unlimited
- Reduced number of blocks held in in-memory cache to reduce need for old-gen GC with the larger post-merge blocks
- Make Validator Client connect to a failover event stream (if failovers are configured) when the current Beacon Node is not synced
- Detect Lodestar clients in
libp2p_connected_peers_currentmetrics - Reduce CPU and Memory consumption in shuffling, which will improve epoch transition performance
- Faster peer discovery on startup
Bug Fixes
- Fixed an issue where epoch cache priming sometimes happened synchronously, causing delays in time tick processing in the beacon node
- Fix
/eth/v1/validator/register_validatorresponding with a 400 status code and a misleading error message in case of exceptions - Fix a
NullPointerExceptionfor the gas limit when a proposer config is used and builder is enabled - Update snakeyaml dependency to resolve cve-2022-25857 which could result in excessive memory usage when parsing YAML content
- Fixed an issue where the range requested for deposit logs was not reduced when using only
--ee-endpointleading to persistent timeouts with execution clients
Upcoming Breaking Changes
- The
validator_beacon_node_published_attestation_total,validator_beacon_node_published_aggregate_total,
validator_beacon_node_send_sync_committee_messages_total,validator_beacon_node_send_sync_committee_contributions_total
andvalidator_beacon_node_published_block_totalmetrics have been deprecated in favour of the newvalidator_beacon_node_requests_totalmetric.
The old metrics will be removed in a future release. An update to the Teku Dashboard that uses the new metric is available. - The
/eth/v1/debug/beacon/states/:state_idendpoint has been deprecated in favor of the v2 Altair endpoint/eth/v2/debug/beacon/states/:state_id - The
/eth/v1/beacon/blocks/:block_idendpoint has been deprecated in favor of the v2 Altair endpoint/eth/v2/beacon/blocks/:block_id - The
/eth/v1/validator/blocks/:slotendpoint has been deprecated in favor of the v2 Altair endpoint/eth/v2/validator/blocks/:slot - The
/eth/v1/debug/beacon/headsendpoint has been deprecated in favor of the v2 Bellatrix endpoint/eth/v2/debug/beacon/heads