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

discv5+DNS: consolidating ENR information #915

Closed
2 tasks
kaiserd opened this issue Mar 25, 2022 · 4 comments
Closed
2 tasks

discv5+DNS: consolidating ENR information #915

kaiserd opened this issue Mar 25, 2022 · 4 comments

Comments

@kaiserd
Copy link
Contributor

kaiserd commented Mar 25, 2022

Background

Currently nwaku builds two separate ENRs (in case discv5 is active) holding separate information.
One when initializing a waku node, and another one when initializing the discv5 subsystem.
The former might contain a DNS multiaddress, while the latter contains the UDP port necessary for discv5.

Goal / Motivation

Both ENR instances should contain the union of their respective current information.

non-goals of this issue

For now, the discv5 subsystem holds a separate ENR instance. This issue does not propose consolidating both into a single ENR instance, as that would require more refactoring.
We might address that in the future though.

cc @jm-clius @richard-ramos

Acceptance criteria

  • Wakunode2 and discv5 subsystem ENRs contain the same information
  • successfully tested on experimental/local test fleet
@danisharora099
Copy link

This was also seen as a partial blocker during js-waku<>nwaku peer-exchange interop testing as multiaddrs was not received as part of the ENR.
It is intermittently being solved by making a PX query to the node for which discv5-bootstrap-node ENR is already added.

@jm-clius
Copy link
Contributor

This could be a dependency for #1475

@rymnc
Copy link
Contributor

rymnc commented Feb 7, 2023

This issue is addressed in #1512

@rymnc rymnc moved this from Todo to Code Review / QA in Waku Feb 7, 2023
@rymnc
Copy link
Contributor

rymnc commented Feb 7, 2023

@jm-clius can we close this issue as #1512 has been merged?

@jm-clius jm-clius closed this as completed Feb 7, 2023
@github-project-automation github-project-automation bot moved this from Code Review / QA to Done in Waku Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants