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

bug: PeerInfo instance affects listed protocols #2590

Open
AlejandroCabeza opened this issue Apr 15, 2024 · 0 comments
Open

bug: PeerInfo instance affects listed protocols #2590

AlejandroCabeza opened this issue Apr 15, 2024 · 0 comments
Labels
bug Something isn't working effort/hours Estimated to be completed in a few hours

Comments

@AlejandroCabeza
Copy link
Contributor

Problem

The order in which protocols are mounted, nodes are started, and peerInfo is retrieved; matters for peerInfo.protocols consistency

Impact

Low

To reproduce

The simplest way to reproduce is to checkout the test-peer-connection-management branch. Open tests/node/test_wakunode_peer_manager.nim and check out the Mount Order suite. In there there's a test case for each of the order possibilities. In the last two (info-start-protocol, info-protocol-start) the peerInfo is not updated with the correct protocols.

Expected behavior

Not sure if this is expected or not.

nwaku version/commit hash

  • wakunode2: v0.24.0-rc.0-126-g4117fe
  • branch: test-peer-connection-management
  • commit: bbebbac (might change in the future)
@AlejandroCabeza AlejandroCabeza added the bug Something isn't working label Apr 15, 2024
@gabrielmer gabrielmer added the effort/hours Estimated to be completed in a few hours label Jun 4, 2024
@gabrielmer gabrielmer assigned gabrielmer and unassigned gabrielmer Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working effort/hours Estimated to be completed in a few hours
Projects
Status: To Do
Development

No branches or pull requests

2 participants