circomkit icon indicating copy to clipboard operation
circomkit copied to clipboard

Some functions do not exit on completion

Open ScreamingHawk opened this issue 1 year ago • 1 comments

I haven't done a complete pass but I noticed the following commands don't exit on completion. I have to kill the process.

npx circomkit setup <circuit>
npx circomkit prove <circuit> <input>
npx circomkit verify <circuit> <input>
npx circomkit contract <circuit>

compile, info and calldata all appear to return correctly.

ScreamingHawk avatar Oct 02 '24 23:10 ScreamingHawk

That's probably due to this issue that we do this for on the tests. Maybe we should add this line inside each of those functions so it's not needed to be done externally?

https://github.com/erhant/circomkit/blob/48bc6b91bb288cee5859c1a854772fe8fa95585b/tests/hooks/teardown.js#L4

numtel avatar Oct 03 '24 00:10 numtel

Closed with #96

erhant avatar Oct 06 '24 16:10 erhant