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

Updating the PRE-IMAGE proof example in Overview page #31

Open
noushkia opened this issue Sep 4, 2023 · 1 comment
Open

Updating the PRE-IMAGE proof example in Overview page #31

noushkia opened this issue Sep 4, 2023 · 1 comment

Comments

@noushkia
Copy link

noushkia commented Sep 4, 2023

The 'EXAMPLE OF HOW TO PROVE KNOWLEDGE OF A PRE-IMAGE' on the Overview page is outdated and doesn't run on the current version of gnark.
The old example
Circuit definition is wrong (for example mimc.NewMiMC(api.Curve()) shouldn't receive a curve as input, the API is sufficient).

@noushkia
Copy link
Author

noushkia commented Sep 4, 2023

The following section needs to be updated as well:
https://docs.gnark.consensys.net/HowTo/write/standard_library

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

No branches or pull requests

1 participant