-
Notifications
You must be signed in to change notification settings - Fork 54
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_keystore_generator): wired to onchain group manager #1931
Conversation
You can find the image built from this PR at
|
9b97ffe
to
302e6fb
Compare
302e6fb
to
7235bc3
Compare
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. Minor style comment
Makefile
Outdated
@@ -186,7 +186,7 @@ chat2: | build deps librln | |||
|
|||
rln_keystore_generator: | build deps librln |
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.
I'd go for rln-keystore-generator
. General Makefile convention is that words in target names are not separated at all or separated by a hyphen. See https://style-guides.readthedocs.io/en/latest/makefile.html#targets
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.
Addressed in 1870f98
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
|
||
# 5. register on-chain | ||
try: | ||
waitFor groupManager.register(credential) |
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.
Solving this is not related to this PR but if we have a tool to register a membership in nwaku perhaps we should fix this status-im/nim-web3#79 ? May take some time though.
I don't think you are able to broadcast a tx without a chaindId so this groupManager.register
will most likely fail unless your Ethereum node uses rpc.allow-unprotected-txs
, and afaik thats disabled in most of the cases. So someone using this tool will most likely run into this.
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.
very nice catch! will try to make some time to fix that!
Description
Hooks up the rln_keystore_generator to the OnchainGroupManager.
Changes