Module debug
darkfi
0.5.0
Module debug
Module Items
Functions
In darkfi::
zk
darkfi
::
zk
Module
debug
Copy item path
Source
Functions
ยง
export_
witness_
json
Export witness.json which can be used by zkrunner for debugging circuits Note that this function makes liberal use of unwraps so it could panic.
import_
witness_
json
Import witness.json which can be used to debug or benchmark circuits. Note that if the path or provided json is incorrect then this function will panic.
zkas_
type_
checks
Call this before
Proof::create()
to perform type checks on the witnesses and check the amount of provided instances are correct.