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

chore: always include node ENR in response to info requests #1128

Merged
merged 2 commits into from
Sep 8, 2022

Conversation

jm-clius
Copy link
Contributor

@jm-clius jm-clius commented Sep 7, 2022

Blocks: status-im/infra-status#15

Since the node.enr is:

  • always available
  • more complete than the wakuDiscv5 enr

I believe it's sensible to always include this ENR in responses to info requests. Once the ENRs are consolidated, we can include only the consolidated ENR here (which is likely to be node.enr in any case).

This is necessary to extract ENRs for DNS discovery purposes: status-im/infra-status#15

Copy link
Contributor

@kaiserd kaiserd left a comment

Choose a reason for hiding this comment

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

LGTM 👍
This is an artifact from when node.enr did not contain the udp port 😅 .

Copy link
Contributor

@LNSD LNSD left a comment

Choose a reason for hiding this comment

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

LGTM ✅

P.S. I love this kind of PRs 😛

@jm-clius jm-clius merged commit f4e9d39 into master Sep 8, 2022
@jm-clius jm-clius deleted the chore/node-enr-info branch September 8, 2022 13:25
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.

3 participants