Skip to content

Commit

Permalink
chore: update submodules (#1601)
Browse files Browse the repository at this point in the history
* chore: update submodules

* fix: fix peer store test

* fix: legacy build requires Nim binary deps
  • Loading branch information
jm-clius authored Mar 13, 2023
1 parent 6584b58 commit 11c19a3
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ wakunode1: | build deps
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim wakunode1 $(NIM_PARAMS) waku.nims

example1: | build
example1: | build deps
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim example1 $(NIM_PARAMS) waku.nims

Expand Down
6 changes: 3 additions & 3 deletions tests/v2/test_peer_store_extended.nim
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ suite "Extended nim-libp2p Peer Store":

setup:
# Setup a nim-libp2p peerstore with some peers
let peerStore = PeerStore.new(capacity = 50)
let peerStore = PeerStore.new(nil, capacity = 50)
var p1, p2, p3, p4, p5, p6: PeerId

# create five peers basePeerId + [1-5]
Expand Down Expand Up @@ -287,7 +287,7 @@ suite "Extended nim-libp2p Peer Store":

test "del() successfully deletes waku custom books":
# Given
let peerStore = PeerStore.new(capacity = 5)
let peerStore = PeerStore.new(nil, capacity = 5)
var p1: PeerId
require p1.init("QmeuZJbXrszW2jdT7GdduSjQskPU3S7vvGWKtKgDfkDvW" & "1")
peerStore[AddressBook][p1] = @[MultiAddress.init("/ip4/127.0.0.1/tcp/1").tryGet()]
Expand Down Expand Up @@ -320,7 +320,7 @@ suite "Extended nim-libp2p Peer Store":
peerStore[DirectionBook][p1] == default(PeerDirection)

asyncTest "canBeConnected() returns correct value":
let peerStore = PeerStore.new(capacity = 5)
let peerStore = PeerStore.new(nil, capacity = 5)
var p1: PeerId
require p1.init("QmeuZJbXrszW2jdT7GdduSjQskPU3S7vvGWKtKgDfkDvW" & "1")

Expand Down
2 changes: 1 addition & 1 deletion vendor/nim-bearssl
2 changes: 1 addition & 1 deletion vendor/nim-chronicles
2 changes: 1 addition & 1 deletion vendor/nim-faststreams
2 changes: 1 addition & 1 deletion vendor/nim-libp2p
2 changes: 1 addition & 1 deletion vendor/nim-presto
Submodule nim-presto updated 1 files
+2 −2 presto/client.nim
2 changes: 1 addition & 1 deletion vendor/nim-secp256k1
2 changes: 1 addition & 1 deletion vendor/nim-sqlite3-abi
2 changes: 1 addition & 1 deletion vendor/nim-stint
2 changes: 1 addition & 1 deletion vendor/nim-toml-serialization
2 changes: 1 addition & 1 deletion vendor/nim-unittest2
2 changes: 1 addition & 1 deletion vendor/nim-websock
2 changes: 1 addition & 1 deletion vendor/nim-zlib
2 changes: 1 addition & 1 deletion vendor/nimbus-build-system

0 comments on commit 11c19a3

Please sign in to comment.