Skip to content

Commit

Permalink
chore: derive clone/debug for groth16 input types
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalakkal committed May 9, 2024
1 parent a5760c7 commit 5895814
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions circuit/src/subquery/groth16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ use ethers::{
};

use super::caller::FetchSubquery;

#[derive(Clone, Debug)]
pub struct Groth16Input<F: Field> {
pub vkey_bytes: Vec<F>,
pub proof_bytes: Vec<F>,
pub public_inputs: Vec<F>,
}

#[derive(Clone, Debug)]
pub struct Groth16AssignedInput<F: Field> {
pub vkey_bytes: Vec<AssignedValue<F>>,
pub proof_bytes: Vec<AssignedValue<F>>,
Expand Down

0 comments on commit 5895814

Please sign in to comment.