Browse Source

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

parazyd 4 years ago
parent
commit
7794dfaee8
2 changed files with 4 additions and 4 deletions
  1. 2 2
      tests/burn_proof.rs
  2. 2 2
      tests/mint_proof.rs

+ 2 - 2
tests/burn_proof.rs

@@ -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 */
 

+ 2 - 2
tests/mint_proof.rs

@@ -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 */