Skip to content

fix: expose agent-version-suffix via identify protocol#9457

Merged
lidel merged 1 commit intomasterfrom
fix/agent-version-suffix
Dec 6, 2022
Merged

fix: expose agent-version-suffix via identify protocol#9457
lidel merged 1 commit intomasterfrom
fix/agent-version-suffix

Conversation

@lidel
Copy link
Copy Markdown
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