Skip to content

Commit

Permalink
add the missing precal witness dump back
Browse files Browse the repository at this point in the history
  • Loading branch information
mhchia committed Jun 19, 2024
1 parent 007f475 commit 13bcab6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zkstats/computation.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ def is_precise() -> IsResultPrecise:
if current_op_index > len_ops - 1:
# Sanity check that current op index does not exceed the length of ops
raise Exception(f"current_op_index out of bound: {current_op_index=} > {len_ops=}")
if self.isProver:
json.dump(self.precal_witness, open(self.precal_witness_path, 'w'))
return op.result+(x[0]-x[0])[0][0]


Expand Down

0 comments on commit 13bcab6

Please sign in to comment.