mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user