-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rln-relay): pass in index to keystore credentials #1777
Conversation
@@ -51,7 +51,7 @@ procSuite "WakuNode - RLN relay": | |||
await node1.mountRlnRelay(WakuRlnConfig(rlnRelayDynamic: false, | |||
rlnRelayPubsubTopic: rlnRelayPubSubTopic, | |||
rlnRelayContentTopic: contentTopic, | |||
rlnRelayMembershipIndex: some(MembershipIndex(1)), | |||
rlnRelayCredIndex: MembershipIndex(1), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to also rename the type MembershipIndex
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it fell through the sieve, it should actually be <index>.uint
instead. fixed in 956a63c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comment, otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
May kindly elaborate a bit more the PR description to understand better what does a index of credentials represent?
Description
Allows users/operators to pass in the index of credentials to use. "Credentials" represents the keystore provided by the
waku_keystore
module.Changes
s/rlnRelayMembershipIndex/rlnRelayCredIndex/g
to be more descriptive--rln-relay-membership-group-index
) to chat2 and wakunode2 to allow operators toselect the credential within a an array of
credentials in rln app
Issue
closes #1774