feat: add next fork digest (nfd) entry to ENR#8023
Merged
Conversation
nflaig
commented
Jun 30, 2025
nflaig
commented
Jul 2, 2025
ensi321
added a commit
that referenced
this pull request
Jul 8, 2025
**Motivation** - ethereum/consensus-specs#4354 **Description** - add concept of fork boundaries (`ForkBoundary`) which include both normal hard-forks (phase0, altair, etc.) and Blob Parameter Only (BPO) forks and are used to un-/subscribe to gossip topics and compute the fork digest primarily for domain separation on the p2p layer - mix in blob parameters (`BlobParameters`) when computing fork digest (`computeForkDigest`) post-fulu - update ENR fork id (`ENRForkID`) to consider fork boundaries (next fork digest (`nfd`) will be updated in #8023) - cache pre-computed fork digests by epoch instead of fork name in genesis config cache --------- Co-authored-by: NC <17676176+ensi321@users.noreply.github.com>
16cb265 to
122d720
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## unstable #8023 +/- ##
============================================
- Coverage 55.78% 55.77% -0.02%
============================================
Files 834 834
Lines 59535 59549 +14
Branches 4603 4600 -3
============================================
Hits 33214 33214
- Misses 26253 26267 +14
Partials 68 68 🚀 New features to boost your workflow:
|
Contributor
Performance Report🚀🚀 Significant benchmark improvement detected
Full benchmark results
|
ensi321
approved these changes
Jul 17, 2025
Member
|
🎉 This PR is included in v1.33.0 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
as per specs/fulu/p2p-interface.md#next-fork-digest