-
Notifications
You must be signed in to change notification settings - Fork 950
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(webrtc): Don't append /p2p
to listen addresses
#3154
fix(webrtc): Don't append /p2p
to listen addresses
#3154
Conversation
to align with all other transports, which don't include `/p2p/..` in their reported addresses. Refs libp2p#2622 (comment)
/p2p
to listen addresses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I think you have to adjust the tests too to append it there again!
The tests are passing for me locally. CI fails with "Error: No available baseline versions for libp2p-webrtc@0.1.0-alpha". Not sure what that means. |
That is because of #3141. We will need to adjust the version to actually be greater than what is released. |
Interesting, I thought I added the appending of the |
It seems like the Testground build of the commits on this pull request fails:
I am guessing this is due to the fact that this pull request is on a fork and not on the main repository? //CC @thomaseizinger |
I have a suspicion:
|
It's a bit weird that build is failing for external contributors 😕 Feel free to cherry-pick this commit! As long as the changes are merged, I'm happy. |
When building the `master` image we would previously mistakingly set the ref to the PR commit hash. This surfaced when testing a pull request from a fork. `master` would be pointed at the forks HEAD commit hash, but not the fork URL. Thus the build could not find the commit and would fail. See libp2p/rust-libp2p#3154
When building the `master` image we would previously mistakingly set the ref to the PR commit hash. This surfaced when testing a pull request from a fork. `master` would be pointed at the forks HEAD commit hash, but not the fork URL. Thus the build could not find the commit and would fail. See libp2p/rust-libp2p#3154
Description
This aligns with what other transports do.
Related: #2622 (comment).