Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Proof and VerificationKey structs: Make _marker fields public #48

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode
target
Cargo.lock
pkg
Expand Down
4 changes: 2 additions & 2 deletions src/plonk/better_cs/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ pub struct Proof<E: Engine, P: PlonkConstraintSystemParams<E>> {
pub opening_at_z_proof: E::G1Affine,
pub opening_at_z_omega_proof: E::G1Affine,

pub(crate) _marker: std::marker::PhantomData<P>,
pub _marker: std::marker::PhantomData<P>,
}

impl<E: Engine, P: PlonkConstraintSystemParams<E>> Proof<E, P> {
Expand Down Expand Up @@ -780,7 +780,7 @@ pub struct VerificationKey<E: Engine, P: PlonkConstraintSystemParams<E>> {

pub g2_elements: [E::G2Affine; 2],

pub(crate) _marker: std::marker::PhantomData<P>,
pub _marker: std::marker::PhantomData<P>,
}

impl<E: Engine, P: PlonkConstraintSystemParams<E>> VerificationKey<E, P> {
Expand Down