-
Notifications
You must be signed in to change notification settings - Fork 57
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
chore(rln-relay): Requirements to consider RLN ready (non experimental) #1906
Comments
Adding also to 4. leaving this in only trace. Otherwise it is too verbose for debug and can really affect performance. Imagine 100 msg/second. There would be a line per message in DEBUG. Adding: |
Adding: 9. Sync from the deployment block instead of from genesis. Related to discussions in here |
Adding 11. Add metric to show the amout of registered memberships in the tree. |
added 13 and 14 to cut scope in nwaku |
Added 15. Add metric with the total registered memberships in the contract |
Added 16. "simulate" a message in the "publish message" rpc endpoint to detect if the message would be considered as spam. if so, return and error without publishing the message. like this we avoid unnecesary spam, and we error notifying that the message will never arrive due to rln rate limitation. |
adding 17. flush_interval and 18. rln metadata upgrade |
adding 19. rln tree persistence bug and 20. window of roots persistence |
Renamed this issue to "Requirements to consider RLN ready (non experimental)". Note that this has becone an umbrela issue to track whats left to consider RLN ready and not experimental anymore. |
added 22 to add comments to contract declarations |
@alrevuelta re: 16, the publishing node does perform the validation before relaying it onto other peers - and if it is spam, it is dropped at the source |
Added 23. "If your keystore has just 1 key, dont require the |
Please use the following contract from this point onwards - |
Added "25. Add a check Requirement for 8. |
may I suggest that we move 2 => to another issue since it is not directly related to the feature set that rln-relay provides? it would more likely be a part of the refactor that @Ivansete-status mentioned in #1966 (review) |
yep, lets track 2 separately. the important thing was ordered validators, and thats already covered. |
moved to #1992 |
Hey guys, awesome work on RLN, really cool to see the all progress being made :) I don't know exactly what litmus test you are using to distinguish production-ready/experimental etc, but just wanted to point out that Zerokit depends on ark-circom which depends on ark-groth16 https://github.com/arkworks-rs/groth16#ark-groth16, with the current status:
Probably not relevant at this stage for RLN, but good to keep an eye out from a security POV when it comes to real funds. A lot of people are relying on above library afaik (e.g. Worldcoin went to production with it, maybe others too). Also for your interest I believe PSE is investing in arkworks and would also be open to a security audit of a subset of arkworks libraries. (This comment probably belong upstream in Zerokit repo but saw this linked from Twitter so I'll just drop it in here as a FYI). |
Weekly Update
|
Background
As discussed with @alrevuelta, following are the discussion points for rln-relay
Details
--pubsub-topic
) -/health
should denote if the nwaku node is ready for use)rln
feature should be available in the non-experimental contextwaku-rln-relay
, thanks @richard-ramoss/flush_interval/flush_every_ms
misconfiguration on rln configrln-relay-membership-index
", just load the existing one. Only require that flag when having a keystore with multiple keys"isRlnInSync()
function (or similar) that returnstrue
if synced to the latest head orfalse
if rln tree is not in sync with latest head. + use it in apis (so that we error if rln is not in sync)Acceptance criteria
The text was updated successfully, but these errors were encountered: