chore: Partial version bumps for v0.34.0-rc.1 (#3172)

* Bumps for v0.34.0-rc.1 - partial bumping - libp2p
* Avoid importing quic and ngtcp2 dependencies through tests
* libp2p 1.7.1, fixes RendezVous construction
This commit is contained in:
NagyZoltanPeter 2024-11-10 09:27:04 +01:00 committed by GitHub
parent 294dd03c45
commit 8368ff006d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{.used.}
import chronos, testutils/unittests, libp2p, libp2p/protocols/rendezvous
import chronos, testutils/unittests, libp2p/builders, libp2p/protocols/rendezvous
import waku/node/waku_switch, ./testlib/common, ./testlib/wakucore

View File

@ -3,7 +3,7 @@
import
testutils/unittests,
chronos,
libp2p,
libp2p/builders,
libp2p/protocols/connectivity/autonat/client,
libp2p/protocols/connectivity/relay/relay,
libp2p/protocols/connectivity/relay/client,

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit 18a2e79ce209d2f21d8c5db7a41659cc39dbe0b4
Subproject commit 8855bce0854ecf4adad7a0556bb2b2d2f98e0e20

View File

@ -1262,7 +1262,11 @@ proc startKeepalive*(node: WakuNode, keepalive = 2.minutes) =
proc mountRendezvous*(node: WakuNode) {.async: (raises: []).} =
info "mounting rendezvous discovery protocol"
try:
node.rendezvous = RendezVous.new(node.switch)
except Exception as e:
error "failed to create rendezvous", error = getCurrentExceptionMsg()
return
if node.started:
try: