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

Adjust Supernova APIs for verification #68

Closed
huitseeker opened this issue Oct 12, 2023 · 1 comment
Closed

Adjust Supernova APIs for verification #68

huitseeker opened this issue Oct 12, 2023 · 1 comment
Assignees

Comments

@huitseeker
Copy link
Member

This is the sister issue for lurk-lab/lurk-rs#695 which portents that the SuperNova APIs for verification will need adjustment for Lurk:

/// verify recursive snark
pub fn verify<C1: StepCircuit<G1::Scalar>, C2: StepCircuit<G2::Scalar>>(
&self,
pp: &PublicParams<G1, G2, C1, C2>,
circuit_index: usize,
z0_primary: &[G1::Scalar],
z0_secondary: &[G2::Scalar],
) -> Result<(), SuperNovaError> {

Please refer to the discussion in the Lurk issue, which hints at a convenience API that may receive an array of witnesses for each step and aggregate them verification-side.

@huitseeker
Copy link
Member Author

Closed in #72

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

2 participants