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

Update groth16 verifier template #315

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

Conversation

Hrom131
Copy link

@Hrom131 Hrom131 commented Feb 21, 2023

There are projects within which many different circom circuits are used. The VerifierHelper library was written to simplify and optimize work with the verifier contracts. In order to make the library more secure, you need to be able to get the number of public signals on-chain.

For this purpose the getInputsNumber function, which returns the number of public signals, was added to the verifier contract template.

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