Skip to content

Commit 4aca889

Browse files
committed
Fix library conflicts
1 parent ea14260 commit 4aca889

File tree

5 files changed

+10
-13
lines changed

5 files changed

+10
-13
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "vendor/waku"]
22
path = vendor/waku
3-
url = git@github.com:waku-org/nwaku.git
3+
url = https://jazzz@github.com/jazzz/nwaku

nim_chat_poc.nimble

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ task initialize, "Initialize the project after cloning":
1717

1818
requires "nim >= 2.2.4"
1919

20-
requires "protobuf_serialization >= 0.1.0"
21-
requires "secp256k1 >= 0.6.0.3.2"
20+
requires "protobuf_serialization"
21+
requires "secp256k1"
2222
requires "blake2"
2323
requires "chronicles"
24-
requires "libp2p >= 1.11.0"
24+
requires "libp2p"
2525
requires "nimchacha20poly1305" # TODO: remove
26-
requires "confutils >= 0.1.0"
27-
requires "eth >= 0.8.0"
28-
requires "regex >= 0.26.3"
29-
requires "web3 >= 0.7.0"
26+
requires "confutils"
27+
requires "eth"
28+
requires "regex"
29+
requires "web3"

src/chat_sdk/delivery/waku_client.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ proc buildWakuNode(cfg: WakuConfig): WakuNode =
118118
builder.withNetworkConfigurationDetails(ip, Port(cfg.port)).tryGet()
119119
let node = builder.build().tryGet()
120120

121-
node.mountMetadata(cfg.clusterId).expect("failed to mount waku metadata protocol")
121+
node.mountMetadata(cfg.clusterId, @[1'u16, 2'u16]).expect("failed to mount waku metadata protocol")
122122

123123
result = node
124124

src/nim_chat_poc.nim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ proc main() {.async.} =
6161
cfg_saro.staticPeers.add(cfg_raya.getMultiAddr())
6262
cfg_raya.staticPeers.add(cfg_saro.getMultiAddr())
6363

64-
info "CFG", cfg = cfg_raya
65-
info "CFG", cfg = cfg_saro
66-
6764
# Start Clients
6865
var saro = newClient("Saro", cfg_saro)
6966
saro.onNewMessage(proc(convo: Conversation, msg: ContentFrame) {.async.} =

vendor/waku

Submodule waku updated 67 files

0 commit comments

Comments
 (0)