diff --git a/src/circom/builder.rs b/src/circom/builder.rs index d339a34..364e877 100644 --- a/src/circom/builder.rs +++ b/src/circom/builder.rs @@ -9,12 +9,14 @@ use std::collections::HashMap; use crate::{circom::R1CSFile, witness::WitnessCalculator}; use color_eyre::Result; +#[derive(Clone, Debug)] pub struct CircomBuilder { pub cfg: CircomConfig, pub inputs: HashMap>, } // Add utils for creating this from files / directly from bytes +#[derive(Clone, Debug)] pub struct CircomConfig { pub r1cs: R1CS, pub wtns: WitnessCalculator, diff --git a/src/ethereum.rs b/src/ethereum.rs index 78d2c35..151cc6e 100644 --- a/src/ethereum.rs +++ b/src/ethereum.rs @@ -86,9 +86,9 @@ impl From<&G2Affine> for G2 { #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] pub struct Proof { - a: G1, - b: G2, - c: G1, + pub a: G1, + pub b: G2, + pub c: G1, } impl Proof {