-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(libp2p): Updating nim-libp2p to fix the
wss
connectivity issue (#…
…1848) * Updating nim-libp2p to fix the `wss` connectivity issue * The `nim-libp2p` adds many changes although we are actually interested in the latest commit: > wstransport.nim: avoid re-raising 'TransportOsError' to avoid stopping `switch.accept` (#929) * The `nim-stew` bump is needed so that the `nim-libp2p` can compile. * The changes in `waku_node.nim` are needed due to the changes in `nim-stew`. * waku_node.nim: returning a "completed" future within 'statusAndConfidenceHandler' This is aimed to avoid the next exception happening in the wakunode: ``` Unhandled defect: Async procedure (service.nim(74) callHandler) yielded `nil`, are you await'ing a `nil` Future? [AssertionDefect] ``` * Adding 'async' to 'statusAndConfidenceHandler' so that it properly returns a Future[void]
- Loading branch information
1 parent
3fe4522
commit 1d3410c
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
Submodule nim-libp2p
updated
from 224f92 to 74c402
Submodule nim-stew
updated
14 files
+1 −1 | .github/workflows/ci.yml | |
+1 −3 | README.md | |
+6 −4 | stew.nimble | |
+2 −2 | stew/assign2.nim | |
+3 −3 | stew/base58.nim | |
+3 −3 | stew/bitops2.nim | |
+59 −0 | stew/enums.nim | |
+1 −1 | stew/objects.nim | |
+199 −65 | stew/results.nim | |
+77 −0 | stew/shims/enumutils.nim | |
+15 −0 | stew/shims/typetraits.nim | |
+2 −1 | tests/all_tests.nim | |
+37 −0 | tests/test_enums.nim | |
+71 −0 | tests/test_results.nim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters