Open danisharora099 opened 1 year ago
some findings:
p2p/QmAlice/p2p/QmBob
as was seen in the browser findings (was checked right before sending to libp2p.dial()
no valid addresses
payload identity mismatch
/p2p-circuit/
to our multiaddrs when we've decoded the ENR as it is something that is avoided on service nodes' sides or from the ENR and is client's responsibility due to size ENR's constraints
p2p/QmBob
is suffixed, it should then make the multiaddrs "proper" in the interim at least: p2p/QmAlice/p2p-circuit/p2p/QmBob
which has chances of getting dialed @waku/ui
as well which makes it quite complicated), running a spec test within js-waku still shows the same no valid addresses
or payload identity mismatch
errors
update: js-libp2p supports circuit-relay: https://github.com/libp2p/js-libp2p/blob/a6be8f0f4bbd81826c2ca5d48ea6175b1fdf3ab9/doc/migrations/v0.42-v0.43.md?plain=1#L29
blocked with https://github.com/libp2p/js-libp2p/issues/2024
currently blocked until a sync with go-waku @richard-ramos (who is currently travelling) can be scheduled as there is an interop bug
the work enabling & testing circuit relay connections is being tracked in #1619
for go-waku, a few changes had to be made to allow for seamless testing, and some improvements are still pending. changes made: https://github.com/waku-org/nwaku/issues/2130#issuecomment-1766308592 improvements required (tracking here: https://github.com/waku-org/go-waku/issues/815)
for nwaku, we need to coordinate the same functionality & flags between both implementations (tracking here https://github.com/waku-org/nwaku/issues/2130)
Removed from epic as agreed not needed at this point in time.
Problem
This issue is meant to track investigation/work around being able to find and connect to p2p-circuit addresses through peer-exchange in js-waku
Notes