-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lighthouse 5.0.0 #163659
lighthouse 5.0.0 #163659
Conversation
7b8fd7c
to
ad0b0f5
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chenrui333 To fix the startup failure add this flag to lighthouse bn
:
--allow-insecure-genesis-sync
That is required when syncing from genesis now.
lighthouse: update sleep lighthouse: update test Co-authored-by: Rui Chen <[email protected]>
ad0b0f5
to
60e9b14
Compare
🤖 An automated task has requested bottles to be published to this PR. |
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
Any node which is not updated to a Lighthouse v5.x.x release by this time will stop following the chain and will need to be resynced. For stakers, this would result in missed rewards and penalties.
All Mainnet Lighthouse users must update their BNs and VCs to v5.0.0 by March 13, 2024, 01:55:35pm UTC.
This release also contains various bug-fixes, optimisations and new features:
--builder-proposals
(#5151)distributed
flag to VC to enable support for DVT (#4867)There are a few breaking changes. Please see the section on Breaking Changes below.
Mainnet Deneb/Cancun ("Dencun") Upgrade
The Deneb/Cancun ("Dencun") upgrade will occur on mainnet at:
All Lighthouse Beacon Nodes and Validator Clients must be upgraded to a v5.x.x release to ensure they follow the correct chain. The following table demonstrates which releases are reliable, Dencun-ready releases:
To be Dencun ready, user will need to:
There are no new flags to be added or removed for the Dencun upgrade, simply upgrade and wait.
Lighthouse will start periodically emitting the following logs two weeks before the Dencun upgrade (28th of February):
Not ready for Deneb
if Lighthouse has detected that the execution engine is too outdated to support Cancun.Ready for Deneb
if Lighthouse has detected a modern execution engine release.Just because Lighthouse is logging
Ready for Deneb
does not indicate that your execution engine is on the correct version. There is no way for Lighthouse to determine this exactly and users are responsible for ensuring that their execution engine is using the latest release.Note that with blobs (EIP-4844) being added in Dencun, each node is expected to consume additional disk space, with an expected average of 50 GiB, up to a maximum of 103GiB for blobs.
Fix bug in VC flag
--builder-proposals
(#5151)There was a bug in the logic for the
--builder-proposals
VC flag introduced in Lighthouse v4.6.0. Rather than setting the boost to 0 whenbuilder-propsals
was false, it was setting it to 0 whenbuilder-proposals
was true. Users have been using--builder-boost-factor 100
as a workaround until now.This issue has been resolved and the preference can now be enabled with the
--builder-proposals
.See sigp/lighthouse#5151.
:warning: Breaking Changes :warning:
This release contains breaking changes, all of which are detailed below.
Validator Liveness endpoint now accepts string encoded indices
The standard liveness endpoint (
/eth/v1/validator/liveness
) was introduced in the previous version of Lighthouse but did not accept string-encoded validator indices, which is part of the specification. This has been fixed and will require updating both BN and VC to the latest version.See sigp/lighthouse#5184.
Minimum Supported Rust Version 1.75.0
The minimum supported Rust version (MSRV) has been updated to 1.75.0. Users who compile from source (i.e., not Docker or pre-built binary users) will receive the following error if they are using an earlier version of Rust:
Users can typically obtain the latest version of Rust by running
rustup update
.Deleted custom endpoint
lighthouse/beacon/states/{state_id}/ssz
This endpoint is redundant and no longer required, because equivalent endpoints now exist in the standard beacon API.
See sigp/lighthouse#5065.
New mandatory
--checkpoint-blobs
flag for manual checkpoint syncingFor users checkpoint syncing manually (previously using
--checkpoint-block
and--checkpoint-state
), there is now an additional mandatory--checkpoint-blobs
flag for users to supply the checkpoint blobs. Users using the--checkpoint-sync
flag are not affected.See sigp/lighthouse#5252.
Deprecated BN flag
--disable-duplicate-warn-logs
This BN flag was introduced in Lighthouse v4.6.0. It has now become the default behaviour in this version, where gossipsub duplicate logs are
debug
level instead ofwarn
, thus deprecating this flag.See sigp/lighthouse#5163.
Update Priority
This table provides priorities for which classes of users should update particular components.
See Update Priorities more information about this table.
All Changes
distributed
flag to VC to enable support for DVT (#4867)curve25519-dalek
patch (#5214)prune-states
(#5142)blobs_by_root_request
rpc limit. (#5181)--builder-proposals
(#5151)Binaries
See pre-built binaries documentation.
The binaries are signed with Sigma Prime's PGP key:
15E66D941F697E28F49381F426416DC3F30674B0