chore: add TWN parameters for RLNv2 (#2843)

This commit is contained in:
Alvaro Revuelta 2024-06-27 11:45:21 +02:00 committed by GitHub
parent ec3d02a028
commit 393d65faf9
2 changed files with 4 additions and 5 deletions

View File

@ -919,7 +919,7 @@ suite "Waku rln relay":
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:
await runTestForEpochSizeSec(i)

View File

@ -35,12 +35,11 @@ proc TheWakuNetworkConf*(T: type ClusterConf): ClusterConf =
maxMessageSize: "150KiB",
clusterId: 1,
rlnRelay: true,
rlnRelayEthContractAddress: "0xF471d71E9b1455bBF4b85d475afb9BB0954A29c4",
rlnRelayEthContractAddress: "0x4976Df0f61135EF3E5720D92eadE2e5F47A68Ef9",
rlnRelayDynamic: true,
rlnRelayBandwidthThreshold: 0,
rlnEpochSizeSec: 1,
# parameter to be defined with rln_v2
rlnRelayUserMessageLimit: 1,
rlnEpochSizeSec: 600,
rlnRelayUserMessageLimit: 20,
pubsubTopics:
@[
"/waku/2/rs/1/0", "/waku/2/rs/1/1", "/waku/2/rs/1/2", "/waku/2/rs/1/3",