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-RC1
on Dockerhub - Download the binary distribution:
Breaking Changes
- The
--initial-state
and--eth1-deposit-contract-address
options has been removed from thevalidator-client
subcommand. 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. Theulimit
command 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_current
metrics - 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_validator
responding with a 400 status code and a misleading error message in case of exceptions - Fix a
NullPointerException
for 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-endpoint
leading 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_total
metrics have been deprecated in favour of the newvalidator_beacon_node_requests_total
metric.
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_id
endpoint has been deprecated in favor of the v2 Altair endpoint/eth/v2/debug/beacon/states/:state_id
- The
/eth/v1/beacon/blocks/:block_id
endpoint has been deprecated in favor of the v2 Altair endpoint/eth/v2/beacon/blocks/:block_id
- The
/eth/v1/validator/blocks/:slot
endpoint has been deprecated in favor of the v2 Altair endpoint/eth/v2/validator/blocks/:slot
- The
/eth/v1/debug/beacon/heads
endpoint has been deprecated in favor of the v2 Bellatrix endpoint/eth/v2/debug/beacon/heads