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: expose agent-version-suffix via identify protocol #9457

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

lidel
Copy link
Member

@lidel lidel commented Dec 5, 2022

This PR fixes #9456 and adds end-to-end test which confirms suffix is exposed over identify protocol.

Pinging bunch of folks for review / FYI.

Sad details

--agent-version-suffix introduced in #8419 was not applied when libp2p.UserAgent was initialized, which meant the suffix was always absent from libp2p's identify protocol.

The result: we were not getting information about /brave /desktop and /docker nodes :'(
Good news is that Kubo 0.18.0-rc1 will have this fixed, unblocking probe-lab/network-measurements#24

TODO

  • fix
  • end-to-end test over libp2p identify protocol
  • CI is green (fix things that assumed old agentVersion)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

User Agent suffix is not set in libp2p
2 participants