tests: Increase number of rows for mint and burn proofs.

This commit is contained in:
parazyd
2022-03-25 09:33:20 +01:00
parent cb841d3fe6
commit 7794dfaee8
2 changed files with 4 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ fn burn_proof() -> Result<()> {
// Create the circuit
let circuit = ZkCircuit::new(prover_witnesses, zkbin.clone());
let proving_key = ProvingKey::build(11, &circuit);
let proving_key = ProvingKey::build(13, &circuit);
let proof = Proof::create(&proving_key, &[circuit], &public_inputs, &mut OsRng)?;
// ========
@@ -129,7 +129,7 @@ fn burn_proof() -> Result<()> {
// Create the circuit
let circuit = ZkCircuit::new(verifier_witnesses, zkbin);
let verifying_key = VerifyingKey::build(11, &circuit);
let verifying_key = VerifyingKey::build(13, &circuit);
proof.verify(&verifying_key, &public_inputs)?;
/* ANCHOR_END: main */

View File

@@ -70,7 +70,7 @@ fn mint_proof() -> Result<()> {
// Create the circuit
let circuit = ZkCircuit::new(prover_witnesses, zkbin.clone());
let proving_key = ProvingKey::build(11, &circuit);
let proving_key = ProvingKey::build(13, &circuit);
let proof = Proof::create(&proving_key, &[circuit], &public_inputs, &mut OsRng)?;
// ========
@@ -83,7 +83,7 @@ fn mint_proof() -> Result<()> {
// Create the circuit
let circuit = ZkCircuit::new(verifier_witnesses, zkbin);
let verifying_key = VerifyingKey::build(11, &circuit);
let verifying_key = VerifyingKey::build(13, &circuit);
proof.verify(&verifying_key, &public_inputs)?;
/* ANCHOR_END: main */