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

New Semaphore v4 contracts #475

Merged
merged 8 commits into from
Dec 15, 2023
Merged

New Semaphore v4 contracts #475

merged 8 commits into from
Dec 15, 2023

Conversation

cedoor
Copy link
Member

@cedoor cedoor commented Dec 13, 2023

Description

The contracts have been updated with the new LeanIMT. SemaphoreGroups.sol has been adapted to the new data structure, which does not require zero nodes and has a static depth. SemaphoreGroups.sol now also manages access to functions (group admins). The verifier has been updated with the latest version of the template provided by SnarkJS. The VerifiedProof event now includes all the parameters of the proof, allowing anyone to verify the proof off-chain.

Related Issue

#357

Does this introduce a breaking change?

  • Yes
  • No

@cedoor cedoor changed the base branch from main to feat/v4-core-libraries December 13, 2023 18:03
@cedoor cedoor marked this pull request as ready for review December 15, 2023 13:44
@cedoor cedoor linked an issue Dec 15, 2023 that may be closed by this pull request
@cedoor cedoor changed the base branch from feat/v4-core-libraries to feat/semaphore-v4 December 15, 2023 14:07
@cedoor cedoor merged commit f58aca0 into feat/semaphore-v4 Dec 15, 2023
1 of 2 checks passed
@cedoor cedoor deleted the feat/v4-contracts branch December 19, 2023 15:54
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.

Integrate Semaphore v4 changes into the protocol
1 participant