From f6e89c311db5f80e22403d8f0770319ce8dd9829 Mon Sep 17 00:00:00 2001 From: Tanguy Date: Thu, 15 Jun 2023 13:17:19 +0200 Subject: [PATCH] chore(deps): bump libp2p & websock (#1800) --- vendor/nim-libp2p | 2 +- vendor/nim-websock | 2 +- waku/v2/waku_relay/protocol.nim | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index a1eb53b18..49dfa84c6 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit a1eb53b1813df5d4fa1b343ef003ad9fb5ebb1d8 +Subproject commit 49dfa84c6ffc8932aae03b64953ef1721d51a812 diff --git a/vendor/nim-websock b/vendor/nim-websock index fea05cde8..2c3ae3137 160000 --- a/vendor/nim-websock +++ b/vendor/nim-websock @@ -1 +1 @@ -Subproject commit fea05cde8b123b38d1a0a8524b77efbc84daa848 +Subproject commit 2c3ae3137f3c9cb48134285bd4a47186fa51f0e8 diff --git a/waku/v2/waku_relay/protocol.nim b/waku/v2/waku_relay/protocol.nim index 2bd054769..a2a17a9b7 100644 --- a/waku/v2/waku_relay/protocol.nim +++ b/waku/v2/waku_relay/protocol.nim @@ -199,7 +199,7 @@ proc subscribe*(w: WakuRelay, pubsubTopic: PubsubTopic, handler: WakuRelayHandle debug "subscribe", pubsubTopic=pubsubTopic # we need to wrap the handler since gossipsub doesnt understand WakuMessage - let wrappedHandler = proc(pubsubTopic: string, data: seq[byte]): Future[void] {.gcsafe, raises: [Defect].} = + let wrappedHandler = proc(pubsubTopic: string, data: seq[byte]): Future[void] {.gcsafe, raises: [].} = let decMsg = WakuMessage.decode(data) if decMsg.isErr(): # fine if triggerSelf enabled, since validators are bypassed