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

[feat] prover support sp1 proof #344

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

[feat] prover support sp1 proof #344

wants to merge 18 commits into from

Conversation

noel2004
Copy link
Member

@noel2004 noel2004 commented Oct 7, 2024

This PR tried to integrate tests for sp1 proofs, without additional updated being needed in zkevm-circuit.

Basically, it supposed any proofs from sp1 is ready beforehand and put into a specified directory by SP1_PATH env variable. For each chunk the corresponding snark proof in sp1 path should be named as sp1_snark_<chunk_identifier>.json

The e2e test has been updatd, also, new unit tests is added as following:

  • test_sp1_chunk_prove_verify: test a specified chunk with given sp1 snark proof, to confirm it can be compressed with layer2 circuit

  • test_batch_prove_verify_after_chunk_tests: a ignored unittest which enable user to test if the proof from a completed chunk test can be further integrated into batch circuit (layer3 and layer4)

noel2004 and others added 9 commits October 3, 2024 11:01
@roynalnaruto roynalnaruto self-requested a review October 7, 2024 08:27
@noel2004 noel2004 marked this pull request as ready for review October 10, 2024 02:19
@noel2004 noel2004 requested a review from lispc October 10, 2024 02:19
Signed-off-by: noelwei <[email protected]>
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.

2 participants