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

fix(zupass-gatekeeper): event id was stored at the wrong index #1836

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

crisgarner
Copy link
Collaborator

Description

The PCD libraries we use to generate the witness to send the data to the gatekeeper store the event IDs in an array on the 1 and 15 to 37 positions. At the contract level, we were checking the 15 positions, but unless the request is made in a certain way, the 15 value might be invalid. As we are only supporting one event ID for now, there is no need to check the other positions

Additional Notes

Updated the tests also to reflect and tests these changes

Confirmation

Copy link

vercel bot commented Sep 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
maci-website ✅ Ready (Inspect) Visit Preview Sep 23, 2024 11:00pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant