Skip to content

feat: implement fulu enr support - #1518

Merged
shariqnaiyer merged 1 commit into
ReamLabs:masterfrom
tosynthegeek:feat/discv5-discovery
Jul 10, 2026
Merged

feat: implement fulu enr support#1518
shariqnaiyer merged 1 commit into
ReamLabs:masterfrom
tosynthegeek:feat/discv5-discovery

Conversation

@tosynthegeek

Copy link
Copy Markdown
Collaborator

What was wrong?

Implements the remaining Fulu discovery ENR changes required by spec.

Previously, discovery ENRs always advertised the Electra fork digest and did not account for upcoming fork.

How was it fixed?

  • Made ENRForkID generation fork-aware instead of hardcoding Electra.
  • Updated ENR construction to compute the current fork digest from the active fork schedule.
  • Added support for the Fulu discovery ENR fields required by the specification.
  • Computed and advertised the next fork digest (nfd) when applicable.
  • Updated discovery ENR generation to reflect current and upcoming forks.

To-Do

@shariqnaiyer shariqnaiyer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@shariqnaiyer
shariqnaiyer enabled auto-merge July 10, 2026 15:04
@shariqnaiyer
shariqnaiyer added this pull request to the merge queue Jul 10, 2026
Merged via the queue into ReamLabs:master with commit 73bb323 Jul 10, 2026
27 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants