Skip to content
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

fix(discv5): return discv5 local node record #10640

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

emhane
Copy link
Member

@emhane emhane commented Aug 31, 2024

Bug: Return localhost in node record even if discv5 is enabled

Fix: Return discv5 node record in reth_network_api::PeersInfo impl for reth_network::NetworkHandle

@emhane emhane added C-bug An unexpected or incorrect behavior A-networking Related to networking in general A-discv5 Related to discv5 discovery labels Aug 31, 2024
@emhane emhane requested review from mattsse and Rjected as code owners August 31, 2024 17:21
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

how does this relate to #10274 ?

@emhane
Copy link
Member Author

emhane commented Sep 2, 2024

Just that I found the bug when I was implementing that PR. haven't referenced it in the PR description, so going to need a bit more context why you ask? @mattsse

@emhane emhane requested a review from mattsse September 2, 2024 12:57
@mattsse
Copy link
Collaborator

mattsse commented Sep 3, 2024

more context why you ask

because this concerns the same functionality, retrieving the local noderecord

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

this seems okay and is primarily useful for op

@mattsse mattsse added this pull request to the merge queue Sep 3, 2024
Merged via the queue into main with commit 5fc7755 Sep 3, 2024
35 checks passed
@mattsse mattsse deleted the emhane/discv5-local-node-record branch September 3, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-discv5 Related to discv5 discovery A-networking Related to networking in general C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants