mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-08 00:43:06 +00:00
chore: add TWN parameters for RLNv2 (#2843)
This commit is contained in:
parent
c56785327a
commit
7b97c8003c
@ -919,7 +919,7 @@ suite "Waku rln relay":
|
|||||||
|
|
||||||
check: wakuRlnRelay.nullifierLog.len().uint == rlnMaxEpochGap
|
check: wakuRlnRelay.nullifierLog.len().uint == rlnMaxEpochGap
|
||||||
|
|
||||||
var testEpochSizes: seq[uint] = @[1,5,10,30,60]
|
var testEpochSizes: seq[uint] = @[1,5,10,30,60,600]
|
||||||
for i in testEpochSizes:
|
for i in testEpochSizes:
|
||||||
await runTestForEpochSizeSec(i)
|
await runTestForEpochSizeSec(i)
|
||||||
|
|
||||||
|
|||||||
@ -35,12 +35,11 @@ proc TheWakuNetworkConf*(T: type ClusterConf): ClusterConf =
|
|||||||
maxMessageSize: "150KiB",
|
maxMessageSize: "150KiB",
|
||||||
clusterId: 1,
|
clusterId: 1,
|
||||||
rlnRelay: true,
|
rlnRelay: true,
|
||||||
rlnRelayEthContractAddress: "0xF471d71E9b1455bBF4b85d475afb9BB0954A29c4",
|
rlnRelayEthContractAddress: "0x4976Df0f61135EF3E5720D92eadE2e5F47A68Ef9",
|
||||||
rlnRelayDynamic: true,
|
rlnRelayDynamic: true,
|
||||||
rlnRelayBandwidthThreshold: 0,
|
rlnRelayBandwidthThreshold: 0,
|
||||||
rlnEpochSizeSec: 1,
|
rlnEpochSizeSec: 600,
|
||||||
# parameter to be defined with rln_v2
|
rlnRelayUserMessageLimit: 20,
|
||||||
rlnRelayUserMessageLimit: 1,
|
|
||||||
pubsubTopics:
|
pubsubTopics:
|
||||||
@[
|
@[
|
||||||
"/waku/2/rs/1/0", "/waku/2/rs/1/1", "/waku/2/rs/1/2", "/waku/2/rs/1/3",
|
"/waku/2/rs/1/0", "/waku/2/rs/1/1", "/waku/2/rs/1/2", "/waku/2/rs/1/3",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user