diff --git a/apps/chat2mix/chat2mix.nim b/apps/chat2mix/chat2mix.nim index ea3cbd376..f969fdb13 100644 --- a/apps/chat2mix/chat2mix.nim +++ b/apps/chat2mix/chat2mix.nim @@ -576,7 +576,7 @@ proc processInput(rfd: AsyncFD, rng: ref HmacDrbgContext) {.async.} = if kadBootstrapPeers.len > 0: node.wakuKademlia = WakuKademlia.new( node.switch, - ExtendedKademliaDiscoveryParams( + ExtendedServiceDiscoveryParams( bootstrapNodes: kadBootstrapPeers, mixPubKey: some(mixPubKey), advertiseMix: false, diff --git a/waku.nimble b/waku.nimble index d879bc0e1..dcfad6201 100644 --- a/waku.nimble +++ b/waku.nimble @@ -159,9 +159,13 @@ task chat2mix, "Build example Waku chat mix usage": #buildBinary name, "examples/", "-d:chronicles_log_level=WARN" let name = "chat2mix" + # Sink uses textlines (stdout) instead of textlines[file]: the latter + # currently triggers a chronicles compile-time macro-eval bug with Nim 2.2.4. + # Callers can redirect stdout to a file (the existing run_chat_mix*.sh + # scripts already do this). buildBinary name, "apps/chat2mix/", - "-d:chronicles_sinks=textlines[file] -d:chronicles_log_level='TRACE' " + "-d:chronicles_sinks=textlines -d:chronicles_log_level='TRACE' " # -d:ssl - cause unlisted exception error in libp2p/utility... task chat2bridge, "Build chat2bridge":