chore(dot/network): use mdns instead of mdns_legacy#2794
Conversation
|
@Stebalien This PR only focuses on moving to the newer One of the test failing is an integration test To help you reproduce: git clone --single-branch --branch qdm12/dot/network/mdns-upgrade --depth 1 https://github.com/ChainSafe/gossamer.git
cd gossamer
MODE=rpc go test -run ^TestStableNetworkRPC$ github.com/ChainSafe/gossamer/tests/rpc -vThank you in advance for any tips! 👍 |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## development #2794 +/- ##
===============================================
+ Coverage 51.77% 51.87% +0.10%
===============================================
Files 220 219 -1
Lines 27764 27718 -46
===============================================
+ Hits 14374 14379 +5
+ Misses 12162 12113 -49
+ Partials 1228 1226 -2 |
|
Hm. It looks like it could be related to libp2p/go-libp2p#1333. |
Not sure. Could be, but we have a similar test case in go-libp2p (some nodes discovering each other) that works fine. |
|
Thanks @marten-seemann and @Stebalien for helping out! 👍 For extra debugging information, the notifee Do we have to perhaps change the libp2p host creation or change the service name string? (we use the same |
Can you point me to it please? Maybe I can spot what's missing/wrong in those code changes or our existing code. |
117fa6d to
42f7e92
Compare
|
I changed this to use our own With this merged, #2788 should finally be unblocked. |
0be2816 to
0f045cf
Compare
6ac78b7 to
9a0ae60
Compare
a706332 to
152c60b
Compare
152c60b to
b093f4e
Compare
- Inspired from mdns_legacy - Remove mdns dependency on libp2p - Improve existing code to be safer and service oriented
b093f4e to
618e985
Compare
|
🎉 This PR is included in version 0.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Changes
Tests
MODE=rpc go test -run ^TestStableNetworkRPC$ github.com/ChainSafe/gossamer/tests/rpc -vIssues
Related to #2768 and #2788
Primary Reviewer