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

remove reducedness checks #128

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Conversation

dcbuild3r
Copy link
Collaborator

Now semaphore-mtb checks that the preRoot, postRoot, and idComms are in reduced element form ( < SNARK_SCALAR_FIELD), therefore we can remove the checks within the smart contract for all of those to save on gas costs.

@dcbuild3r dcbuild3r added the enhancement New feature or request label Sep 8, 2023
@dcbuild3r dcbuild3r self-assigned this Sep 8, 2023
@dcbuild3r dcbuild3r merged commit 2c32398 into main Sep 11, 2023
1 check passed
@dcbuild3r dcbuild3r deleted the dcbuild3r/remove-reducedness-checks branch September 11, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants