Before creating a PR wanted to make sure I'm getting this correctly.
When using circom-hardhat both circom and circom2 are installed.
In tester.js it checks the compiler version above 2.0 against circom and it returns false. For this use case we could implement:
let output = (await exec('circom2 --version')).stdout;
instead of:
let output = (await exec('circom --version')).stdout;
Should we check circom2 version, and then if it fails we check circom to cover both cases?
Before creating a PR wanted to make sure I'm getting this correctly.
When using
circom-hardhatboth circom and circom2 are installed.In tester.js it checks the compiler version above 2.0 against circom and it returns false. For this use case we could implement:
instead of:
Should we check circom2 version, and then if it fails we check circom to cover both cases?