iden3 / circom_tester

Provides tools for testing circom circuits.
56 stars 28 forks source link

Propagate compile errors #13

Closed BlakeMScurr closed 1 year ago

BlakeMScurr commented 2 years ago

I had a compilation error in my circuit, which failed quietly and didn't generate the output wasm in the tmp directory.

So I ended up with an error like Error: ENOENT: no such file or directory, open '/var/folders/d1/p4jvjs_s1jb30fn8hky7hr5c0000gn/T/circom_-34177-Og3xuSwqOMjn/membership_test_js/membership_test.wasm', where that directory doesn't even exist because it was cleaned up.

(Not 100% sure this will replicate or whether it's the most robust solution).

alrubio commented 1 year ago

Thanks for the contribution.