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: arkworks groth16 conversion #1783

Merged
merged 6 commits into from
Nov 13, 2024
Merged

feat: arkworks groth16 conversion #1783

merged 6 commits into from
Nov 13, 2024

Conversation

yuwen01
Copy link
Contributor

@yuwen01 yuwen01 commented Nov 11, 2024

Enable the ark feature to convert sp1 gnark proofs to arkworks structures.

Copy link

github-actions bot commented Nov 11, 2024

SP1 Performance Test Results

Branch: yuwen/verifier-conversion
Commit: 6a7d2a6
Author: yuwen01

program cycles execute (mHz) core (kHZ) compress (KHz) time success
fibonacci 11291 0.17 2.88 0.46 25s
ssz-withdrawals 2757356 17.38 128.08 35.23 1m18s
tendermint 12593597 6.76 270.75 98.70 2m9s

use ark_groth16::{r1cs_to_qap::LibsnarkReduction, Groth16};

use crate::groth16::ark_converter::*;
// Location of the serialized SP1ProofWithPublicValues. See README.md for more information.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: comment location wrong?

@yuwen01 yuwen01 merged commit 642dd5d into dev Nov 13, 2024
12 of 13 checks passed
@yuwen01 yuwen01 deleted the yuwen/verifier-conversion branch November 13, 2024 00:18
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