From 610305f27bc92efbd46bcc0a0c11fd70afeb8230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Thor=C3=A9n?= Date: Fri, 29 May 2020 15:41:13 +0800 Subject: [PATCH] Update all vendor (#23) * Upgrade all vendors * Fix subscribeTopic signature --- vendor/news | 2 +- vendor/nim-chronicles | 2 +- vendor/nim-eth | 2 +- vendor/nim-faststreams | 2 +- vendor/nim-json-rpc | 2 +- vendor/nim-json-serialization | 2 +- vendor/nim-libp2p | 2 +- vendor/nim-metrics | 2 +- vendor/nim-serialization | 2 +- vendor/nim-stew | 2 +- vendor/nimbus-build-system | 2 +- waku/protocol/v2/waku_protocol.nim | 4 ++-- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/vendor/news b/vendor/news index 8ea2ee260..1caa232d6 160000 --- a/vendor/news +++ b/vendor/news @@ -1 +1 @@ -Subproject commit 8ea2ee260207c57a4b495931508569e181bb7b93 +Subproject commit 1caa232d63f4607f90d5a9eb428fbe772e010d21 diff --git a/vendor/nim-chronicles b/vendor/nim-chronicles index af184ae47..3d7619b1f 160000 --- a/vendor/nim-chronicles +++ b/vendor/nim-chronicles @@ -1 +1 @@ -Subproject commit af184ae47e20672b68d20e7cacd3b726533548e1 +Subproject commit 3d7619b1f559c86b2ef026f386d6d872b9331c82 diff --git a/vendor/nim-eth b/vendor/nim-eth index 17586c05d..a110f091a 160000 --- a/vendor/nim-eth +++ b/vendor/nim-eth @@ -1 +1 @@ -Subproject commit 17586c05d7f047484019565d7eaf8ea9d60b2d30 +Subproject commit a110f091af38e070781de28fea400303d5b3cf43 diff --git a/vendor/nim-faststreams b/vendor/nim-faststreams index caab5c917..5d7cad792 160000 --- a/vendor/nim-faststreams +++ b/vendor/nim-faststreams @@ -1 +1 @@ -Subproject commit caab5c917ffd4a4c583dad9c59d2e1012eee9baa +Subproject commit 5d7cad792ff782672cc46a84cfcae341b55e2437 diff --git a/vendor/nim-json-rpc b/vendor/nim-json-rpc index 5c0d09611..ecf49a063 160000 --- a/vendor/nim-json-rpc +++ b/vendor/nim-json-rpc @@ -1 +1 @@ -Subproject commit 5c0d0961114bcaaf3da52d5918bf0b85ef0e4ce9 +Subproject commit ecf49a06329f49f1993008b0ee08e3f3e13cc422 diff --git a/vendor/nim-json-serialization b/vendor/nim-json-serialization index cb695d175..aa51f6fed 160000 --- a/vendor/nim-json-serialization +++ b/vendor/nim-json-serialization @@ -1 +1 @@ -Subproject commit cb695d175fd809f6262f1ebc329e7c0b1d4505f5 +Subproject commit aa51f6fed1715a91fd8b58072a1915422a133d4a diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index 9132f1692..7b6e1c068 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit 9132f169278ce05fd6fe86dac65e8bec1e9d56c9 +Subproject commit 7b6e1c06888a831d61d7019a07d2d59d5bd079ea diff --git a/vendor/nim-metrics b/vendor/nim-metrics index 65c91f1a7..f91deb742 160000 --- a/vendor/nim-metrics +++ b/vendor/nim-metrics @@ -1 +1 @@ -Subproject commit 65c91f1a7b5bf83968d0bebab74d14ddb6e9a432 +Subproject commit f91deb74228ecb14fb82575e4d0f387ad9732b8a diff --git a/vendor/nim-serialization b/vendor/nim-serialization index 9f085c33a..16e6bcd16 160000 --- a/vendor/nim-serialization +++ b/vendor/nim-serialization @@ -1 +1 @@ -Subproject commit 9f085c33a9dc381bcf455225ccfad893b3d0361e +Subproject commit 16e6bcd16d71eba932978ebc22908da414f52db7 diff --git a/vendor/nim-stew b/vendor/nim-stew index 8065e36c5..a99dafab4 160000 --- a/vendor/nim-stew +++ b/vendor/nim-stew @@ -1 +1 @@ -Subproject commit 8065e36c5af31f2f3f3b0d9ea242ae4eef193a30 +Subproject commit a99dafab420bcbbffee35e9bd847a9014eafaffe diff --git a/vendor/nimbus-build-system b/vendor/nimbus-build-system index e8e1f1c2c..34a884e1c 160000 --- a/vendor/nimbus-build-system +++ b/vendor/nimbus-build-system @@ -1 +1 @@ -Subproject commit e8e1f1c2cff5aebf74dff07b1cf119134267922b +Subproject commit 34a884e1cfa8f4f542db7777085f2024b398eea5 diff --git a/waku/protocol/v2/waku_protocol.nim b/waku/protocol/v2/waku_protocol.nim index 5415b759d..56813ee91 100644 --- a/waku/protocol/v2/waku_protocol.nim +++ b/waku/protocol/v2/waku_protocol.nim @@ -66,9 +66,9 @@ method subscribe*(w: WakuSub, method subscribeTopic*(w: WakuSub, topic: string, subscribe: bool, - peerId: string) {.gcsafe.} = + peerId: string) {.async, gcsafe.} = debug "subscribeTopic", topic=topic, subscribe=subscribe, peerId=peerId - procCall FloodSub(w).subscribeTopic(topic, subscribe, peerId) + await procCall FloodSub(w).subscribeTopic(topic, subscribe, peerId) # TODO: Fix decrement connected peers here or somewhere else method handleDisconnect*(w: WakuSub, peer: PubSubPeer) {.async.} =