for most .zk proofs, provide a corresponding witness.json file which is usable with zkrunner, benchmarks and other utils (using import_witness_json()).

This commit is contained in:
zero
2024-03-27 11:27:57 +01:00
parent a1c48a39c7
commit 4532b8d229
31 changed files with 1278 additions and 6 deletions

View File

@@ -65,6 +65,7 @@ fn main() -> Result<()> {
let public_inputs = vec![*value_coords.x(), *value_coords.y()];
// Create the circuit
//darkfi::zk::export_witness_json("example/simple.witness.json", &prover_witnesses, &public_inputs);
let mut circuit = ZkCircuit::new(prover_witnesses, &zkbin.clone());
circuit.enable_trace();