Skip to content

feat(l1): add "eth" entry to local ENR#5453

Merged
MegaRedHand merged 5 commits intolambdaclass:mainfrom
lakshya-sky:add-eth-in-local-enr
Dec 2, 2025
Merged

feat(l1): add "eth" entry to local ENR#5453
MegaRedHand merged 5 commits intolambdaclass:mainfrom
lakshya-sky:add-eth-in-local-enr

Conversation

@lakshya-sky
Copy link
Copy Markdown
Contributor

Motivation

Geth uses forkId for making connection as outlined in below posts and failing to provide one could mean that newer Geth clients would reject connections.
https://ethereum-magicians.org/t/all-core-devs-testing-acdt-46-july-28-2025/24889/6 and ethereum/go-ethereum#31944.

Description

Closes #5066

@lakshya-sky lakshya-sky requested a review from a team as a code owner November 27, 2025 22:16
Copy link
Copy Markdown
Collaborator

@MegaRedHand MegaRedHand left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! Also, great catch with the fork-id encoding!

Comment thread crates/networking/p2p/discv4/server.rs Outdated
Comment thread crates/networking/p2p/types.rs Outdated
Comment thread crates/networking/p2p/types.rs Outdated
Copy link
Copy Markdown
Collaborator

@MegaRedHand MegaRedHand left a comment

Choose a reason for hiding this comment

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

LGTM. I'll do some syncs on my side to check the fork-id change doesn't make us lose peers.

Copy link
Copy Markdown
Contributor

@ElFantasma ElFantasma left a comment

Choose a reason for hiding this comment

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

LGTM

@MegaRedHand MegaRedHand added this pull request to the merge queue Dec 2, 2025
Merged via the queue into lambdaclass:main with commit bb1eb9e Dec 2, 2025
40 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.

Add "eth" entry to local ENR

3 participants