Skip to content

Commit

Permalink
chore: Partial version bumps for v0.34.0-rc.1 (#3172)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
NagyZoltanPeter committed Nov 10, 2024
1 parent 7ac1ebc commit e3b84e3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_waku_rendezvous.nim
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/test_waku_switch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion vendor/nim-libp2p
Submodule nim-libp2p updated 60 files
+3 −3 .github/actions/install_nim/action.yml
+12 −7 .github/workflows/ci.yml
+1 −0 .github/workflows/coverage.yml
+2 −2 .github/workflows/daily_amd64.yml
+17 −5 .github/workflows/daily_common.yml
+2 −2 .github/workflows/daily_devel.yml
+2 −2 .github/workflows/daily_i386.yml
+15 −0 .github/workflows/daily_sat.yml
+12 −2 .github/workflows/interop.yml
+3 −1 .github/workflows/linters.yml
+3 −1 .pinned
+3 −0 config.nims
+5 −0 funding.json
+1 −0 libp2p.nim
+7 −6 libp2p.nimble
+10 −7 libp2p/connmanager.nim
+10 −8 libp2p/crypto/crypto.nim
+7 −5 libp2p/dialer.nim
+1 −1 libp2p/discovery/rendezvousinterface.nim
+3 −3 libp2p/errors.nim
+18 −12 libp2p/multiaddress.nim
+1 −1 libp2p/multistream.nim
+3 −3 libp2p/muxers/mplex/lpchannel.nim
+5 −5 libp2p/muxers/mplex/mplex.nim
+8 −8 libp2p/muxers/yamux/yamux.nim
+1 −1 libp2p/nameresolving/dnsresolver.nim
+4 −4 libp2p/protocols/connectivity/autonat/server.nim
+4 −4 libp2p/protocols/connectivity/autonat/service.nim
+3 −3 libp2p/protocols/connectivity/dcutr/client.nim
+3 −3 libp2p/protocols/connectivity/dcutr/server.nim
+6 −6 libp2p/protocols/connectivity/relay/client.nim
+8 −7 libp2p/protocols/connectivity/relay/relay.nim
+1 −1 libp2p/protocols/connectivity/relay/utils.nim
+2 −2 libp2p/protocols/identify.nim
+1 −1 libp2p/protocols/perf/server.nim
+1 −1 libp2p/protocols/ping.nim
+3 −3 libp2p/protocols/pubsub/floodsub.nim
+6 −6 libp2p/protocols/pubsub/gossipsub.nim
+1 −1 libp2p/protocols/pubsub/gossipsub/scoring.nim
+4 −4 libp2p/protocols/pubsub/pubsub.nim
+8 −8 libp2p/protocols/pubsub/pubsubpeer.nim
+2 −2 libp2p/protocols/pubsub/rpc/protobuf.nim
+84 −36 libp2p/protocols/rendezvous.nim
+1 −1 libp2p/protocols/secure/secure.nim
+1 −1 libp2p/stream/lpstream.nim
+4 −4 libp2p/switch.nim
+224 −0 libp2p/transports/quictransport.nim
+16 −5 libp2p/transports/tcptransport.nim
+12 −12 libp2p/transports/wstransport.nim
+2 −1 libp2p/utility.nim
+2 −2 libp2p/wire.nim
+0 −4 tests/config.nims
+1 −1 tests/hole-punching-interop/hole_punching.nim
+25 −4 tests/pubsub/testgossipinternal.nim
+2 −2 tests/pubsub/testgossipsub.nim
+17 −7 tests/testmultiaddress.nim
+24 −0 tests/testquic.nim
+11 −3 tests/testrendezvous.nim
+37 −0 tests/testswitch.nim
+11 −15 tests/testutility.nim
6 changes: 5 additions & 1 deletion waku/node/waku_node.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,11 @@ proc startKeepalive*(node: WakuNode) =
proc mountRendezvous*(node: WakuNode) {.async: (raises: []).} =
info "mounting rendezvous discovery protocol"

node.rendezvous = RendezVous.new(node.switch)
try:
node.rendezvous = RendezVous.new(node.switch)
except Exception as e:
error "failed to create rendezvous", error = getCurrentExceptionMsg()
return

if node.started:
try:
Expand Down

0 comments on commit e3b84e3

Please sign in to comment.