Skip to content

Commit

Permalink
fix(rln-relay): s/MembershipIndex/uint
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jun 6, 2023
1 parent e35eadb commit 956a63c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/v2/waku_rln_relay/test_wakunode_rln_relay.nim
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ procSuite "WakuNode - RLN relay":
await node1.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(1),
rlnRelayCredIndex: 1.uint,
))

await node1.start()
Expand All @@ -62,7 +62,7 @@ procSuite "WakuNode - RLN relay":
await node2.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(2),
rlnRelayCredIndex: 2.uint,
))

await node2.start()
Expand All @@ -73,7 +73,7 @@ procSuite "WakuNode - RLN relay":
await node3.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(3),
rlnRelayCredIndex: 3.uint,
))

await node3.start()
Expand Down Expand Up @@ -139,7 +139,7 @@ procSuite "WakuNode - RLN relay":
await node1.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(1),
rlnRelayCredIndex: 1.uint,
))

await node1.start()
Expand All @@ -150,7 +150,7 @@ procSuite "WakuNode - RLN relay":
await node2.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(2),
rlnRelayCredIndex: 2.uint,
))

await node2.start()
Expand All @@ -161,7 +161,7 @@ procSuite "WakuNode - RLN relay":
await node3.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(3),
rlnRelayCredIndex: 3.uint,
))

await node3.start()
Expand Down Expand Up @@ -244,7 +244,7 @@ procSuite "WakuNode - RLN relay":
await node1.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(1),
rlnRelayCredIndex: 1.uint,
))

await node1.start()
Expand All @@ -256,7 +256,7 @@ procSuite "WakuNode - RLN relay":
await node2.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(2),
rlnRelayCredIndex: 2.uint,
))

await node2.start()
Expand All @@ -268,7 +268,7 @@ procSuite "WakuNode - RLN relay":
await node3.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false,
rlnRelayPubsubTopic: rlnRelayPubSubTopic,
rlnRelayContentTopic: contentTopic,
rlnRelayCredIndex: MembershipIndex(3),
rlnRelayCredIndex: 3.uint,
))

await node3.start()
Expand Down

0 comments on commit 956a63c

Please sign in to comment.