Re: nargo execute. Is it possible to just generate witnesses without recompiling circuit? #7854
|
Hi, I'm wondering if it's possible to just generate witnesses (Prover.toml is already populated) without recompiling an already compiled circuit. I'm running However, it seems like |
Replies: 1 comment
|
Hi @ihyunnam, yes I agree that the current behaviour isn't ideal. You're correct that if you're not making changes to your circuit then by default We'd like to fully separate execution from compilation however, so we also have a This isn't currently distributed in our releases but if you compile from source then you can make use of this. |
Hi @ihyunnam, yes I agree that the current behaviour isn't ideal.
You're correct that if you're not making changes to your circuit then by default
nargo executewill short-circuit compilation after monomorphisation once we've checked that you'd be regenerating the same artifact as before. Repeatedly callingnargo executeshould have a relatively low compilation overhead.We'd like to fully separate execution from compilation however, so we also have a
noir-executebinary which will directly consume a noir build artifact https://github.com/noir-lang/noir/blob/master/tooling/artifact_cli/This isn't currently distributed in our releases but if you compile from source then you can make use o…