From 06bd8a494fe89ab8140034c180775566847453de Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Thu, 21 Sep 2023 12:01:04 +0200 Subject: [PATCH 1/3] Updating nim-toml-serialization, nim-unicodedb, nim-unittest2, nim-zlib --- vendor/nim-toml-serialization | 2 +- vendor/nim-unicodedb | 2 +- vendor/nim-unittest2 | 2 +- vendor/nim-zlib | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/nim-toml-serialization b/vendor/nim-toml-serialization index b189c104f7..43c546c365 160000 --- a/vendor/nim-toml-serialization +++ b/vendor/nim-toml-serialization @@ -1 +1 @@ -Subproject commit b189c104f7eeb2c8c2cdc9d103415dc7a6a36037 +Subproject commit 43c546c365af4d291c33b7d94b5b730300165aaf diff --git a/vendor/nim-unicodedb b/vendor/nim-unicodedb index c70f8bc8c7..b055310c08 160000 --- a/vendor/nim-unicodedb +++ b/vendor/nim-unicodedb @@ -1 +1 @@ -Subproject commit c70f8bc8c7373265670e0575bc5eda36fe3761b0 +Subproject commit b055310c08db8f879057b4fec15c8301ee93bb2a diff --git a/vendor/nim-unittest2 b/vendor/nim-unittest2 index 883c7a50ad..2300fa9924 160000 --- a/vendor/nim-unittest2 +++ b/vendor/nim-unittest2 @@ -1 +1 @@ -Subproject commit 883c7a50ad3b82158e64d074c5578fe33ab3c452 +Subproject commit 2300fa9924a76e6c96bc4ea79d043e3a0f27120c diff --git a/vendor/nim-zlib b/vendor/nim-zlib index 826e2fc013..a2f44bb7f6 160000 --- a/vendor/nim-zlib +++ b/vendor/nim-zlib @@ -1 +1 @@ -Subproject commit 826e2fc013f55b4478802d4f2e39f187c50d520a +Subproject commit a2f44bb7f65571a894227ff6fde9298a104e03a5 From 863f265ad4efac16f4209d03b6e9996788e18001 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Thu, 21 Sep 2023 16:24:14 +0200 Subject: [PATCH 2/3] bumping nimbus-build-system --- vendor/nimbus-build-system | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/nimbus-build-system b/vendor/nimbus-build-system index 47052a3fcc..81ce5fc752 160000 --- a/vendor/nimbus-build-system +++ b/vendor/nimbus-build-system @@ -1 +1 @@ -Subproject commit 47052a3fcc5553c03e67332895b6b68faded7181 +Subproject commit 81ce5fc7521e400ceababde59b4a90fe7da8919d From 04add667a5a95f51514c5b8c14d1ffa55cdccef9 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Thu, 21 Sep 2023 16:46:27 +0200 Subject: [PATCH 3/3] bumping nim-libp2p and nim-websock --- vendor/nim-libp2p | 2 +- vendor/nim-websock | 2 +- waku/node/waku_node.nim | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index 41649f0999..b2eac7ecbd 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit 41649f099979e0320a46b013744e5c3d2b6eb9c7 +Subproject commit b2eac7ecbdb695b0b7033f2069b03a63d28aee2b diff --git a/vendor/nim-websock b/vendor/nim-websock index 2c3ae3137f..f8ed9b40a5 160000 --- a/vendor/nim-websock +++ b/vendor/nim-websock @@ -1 +1 @@ -Subproject commit 2c3ae3137f3c9cb48134285bd4a47186fa51f0e8 +Subproject commit f8ed9b40a5ff27ad02a3c237c4905b0924e3f982 diff --git a/waku/node/waku_node.nim b/waku/node/waku_node.nim index 01396bbedf..2be13113eb 100644 --- a/waku/node/waku_node.nim +++ b/waku/node/waku_node.nim @@ -114,14 +114,14 @@ proc getAutonatService*(rng: ref HmacDrbgContext): AutonatService = let autonatService = AutonatService.new( autonatClient = AutonatClient.new(), rng = rng, - scheduleInterval = some(chronos.seconds(120)), + scheduleInterval = Opt.some(chronos.seconds(120)), askNewConnectedPeers = false, numPeersToAsk = 3, maxQueueSize = 3, minConfidence = 0.7) proc statusAndConfidenceHandler(networkReachability: NetworkReachability, - confidence: Option[float]): + confidence: Opt[float]): Future[void] {.gcsafe, async.} = if confidence.isSome(): info "Peer reachability status", networkReachability=networkReachability, confidence=confidence.get()