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

Improve circuit debugging with a MockProver approach a la Halo2 #101

Open
CPerezz opened this issue Jan 28, 2022 · 0 comments
Open

Improve circuit debugging with a MockProver approach a la Halo2 #101

CPerezz opened this issue Jan 28, 2022 · 0 comments
Assignees
Labels
D-hard Difficult: hard P-medium Priority: medium T-design Type: discuss API design and/or research T-feature Type: new features T-test Type: test improvements

Comments

@CPerezz
Copy link
Contributor

CPerezz commented Jan 28, 2022

In Halo2 we have a fantastic tool for circuit-debugging purposes. The MockProver. It basically allows to check all the gate-constraints and Lookup errors returning a really accurated description of the error place and the values involved in it.

The idea is to do something similar. Which at the same time, aims to reduce testing-time since it does not actually perform any commitments or requires any setup.

See more details here: https://github.com/zcash/halo2/blob/d111807798d4719df36dc2b05b0104b69efdceb3/halo2_proofs/src/dev.rs#L465

@CPerezz CPerezz added D-hard Difficult: hard P-medium Priority: medium T-design Type: discuss API design and/or research T-feature Type: new features T-test Type: test improvements labels Jan 28, 2022
@CPerezz CPerezz self-assigned this Jan 28, 2022
@CPerezz CPerezz assigned mathcrypto and unassigned CPerezz Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-hard Difficult: hard P-medium Priority: medium T-design Type: discuss API design and/or research T-feature Type: new features T-test Type: test improvements
Projects
None yet
Development

No branches or pull requests

2 participants