From 6a5f865a1b6ef5a1add6771325b57c2345fccea4 Mon Sep 17 00:00:00 2001 From: Andrew Kirillov Date: Mon, 16 Oct 2023 13:08:51 -0700 Subject: [PATCH] plonk: proof_system: make fields on Proof struct public --- plonk/src/proof_system/structs.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plonk/src/proof_system/structs.rs b/plonk/src/proof_system/structs.rs index 1f74cf990..e9b018df0 100644 --- a/plonk/src/proof_system/structs.rs +++ b/plonk/src/proof_system/structs.rs @@ -60,26 +60,26 @@ pub type OpenKey = UnivariateVerifierParam; #[derivative(PartialEq, Hash(bound = "E:Pairing"))] pub struct Proof { /// Wire witness polynomials commitments. - pub(crate) wires_poly_comms: Vec>, + pub wires_poly_comms: Vec>, /// The polynomial commitment for the wire permutation argument. - pub(crate) prod_perm_poly_comm: Commitment, + pub prod_perm_poly_comm: Commitment, /// Splitted quotient polynomial commitments. - pub(crate) split_quot_poly_comms: Vec>, + pub split_quot_poly_comms: Vec>, /// (Aggregated) proof of evaluations at challenge point `zeta`. - pub(crate) opening_proof: Commitment, + pub opening_proof: Commitment, /// (Aggregated) proof of evaluation at challenge point `zeta * g` where `g` /// is the root of unity. - pub(crate) shifted_opening_proof: Commitment, + pub shifted_opening_proof: Commitment, /// Polynomial evaluations. - pub(crate) poly_evals: ProofEvaluations, + pub poly_evals: ProofEvaluations, /// The partial proof for Plookup argument - pub(crate) plookup_proof: Option>, + pub plookup_proof: Option>, } impl TryFrom> for Proof