Skip to content
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): msg validation according to new circuit #1594

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

rymnc
Copy link
Contributor

@rymnc rymnc commented Mar 7, 2023

This PR fixes #1451

Functional changes in rln-relay:

  • instead of using the epoch as the key, we now use the external_nullifier, which is a combination of the epoch, and the rlnIdentifier. This fixes the case when rln-relay was erroneously storing messages from multiple rln apps (linked to rlnIdentifiers) (which run on the same content topic/pubsub topic combination) which had the same epoch

@rymnc rymnc self-assigned this Mar 7, 2023
@rymnc rymnc added this to the Release 0.16.0 milestone Mar 7, 2023
@rymnc rymnc changed the title fix(rln-relay): msg validation according to new circuit chore(rln-relay): msg validation according to new circuit Mar 7, 2023
@rymnc rymnc marked this pull request as ready for review March 13, 2023 12:16
@rymnc rymnc force-pushed the fix-rln-message-validation branch from 1cdaeba to e526abb Compare March 13, 2023 13:35
@rymnc rymnc force-pushed the fix-rln-message-validation branch from e526abb to f716ca7 Compare March 13, 2023 13:35
Copy link
Contributor

@jm-clius jm-clius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rymnc rymnc merged commit 08b2180 into master Mar 13, 2023
@rymnc rymnc deleted the fix-rln-message-validation branch March 13, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

chore(rln-relay): update message validation
2 participants