You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to update our dependency of go-libp2p from v0.28.2 to v0.34.0(please find below a capture with old + new versions of the libs 👇 ), we noticed that the peer discovery does not work anymore with mocknet.
Digging a bit deeper, we localized the issue: it looks like the hardcoded ip6 multiaddr from GenPeerWithOptions is not compatible anymore with the latest release of go-multiaddr with the newly added ip6 restriction. isPublic is now always false here for the hardcoded address.
This leads to the multiaddr not being saved into the peerstore, thus peer discovery not working.
I've created a simple test in order to highlight the issue, which can be found on this repo.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
While trying to update our dependency of go-libp2p from
v0.28.2
tov0.34.0
(please find below a capture with old + new versions of the libs 👇 ), we noticed that the peer discovery does not work anymore with mocknet.Digging a bit deeper, we localized the issue: it looks like the hardcoded ip6 multiaddr from GenPeerWithOptions is not compatible anymore with the latest release of
go-multiaddr
with the newly added ip6 restriction.isPublic
is now always false here for the hardcoded address.This leads to the multiaddr not being saved into the peerstore, thus peer discovery not working.
I've created a simple test in order to highlight the issue, which can be found on this repo.
Thanks
The text was updated successfully, but these errors were encountered: