Skip to content

Commit beb425b

Browse files
authored
Merge pull request #34 from eigerco/chore/adjust-public-api
chore: adjust public api
2 parents 9374165 + 6b9a405 commit beb425b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/zair-sapling-proofs/src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ impl From<zair_core::schema::config::ValueCommitmentScheme> for ValueCommitmentS
3939
/// The caller generates witness randomness (`alpha`, `rcv`, `rcv_sha256`) before calling
4040
/// the prover. The prover deterministically computes derived public values (`rk`, `cv`,
4141
/// `cv_sha256`) for inclusion in the proof output.
42+
#[cfg(feature = "prove")]
4243
#[derive(Debug, Clone)]
4344
pub struct ClaimProofInputs {
4445
/// Diversifier (11 bytes)

crates/zair-sapling-proofs/src/verifier/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
use bellman::gadgets::multipack;
66
use bellman::groth16::{PreparedVerifyingKey, Proof, verify_proof};
7+
pub use bellman::groth16::{VerifyingKey, prepare_verifying_key};
78
use bls12_381::Bls12;
89

910
pub use crate::error::ClaimProofError;

0 commit comments

Comments
 (0)