Open 0xPetra opened 2 years ago
Before creating a PR wanted to make sure I'm getting this correctly.
When using circom-hardhat both circom and circom2 are installed.
circom-hardhat
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?
I hope this issue is solved.
It always return AssertionError: Wrong compiler version. Must be at least 2.0.0 error message for circom2.0 circuit
AssertionError: Wrong compiler version. Must be at least 2.0.0
I solved this issue by removing circom library from project.
circom
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:
instead of:
Should we check circom2 version, and then if it fails we check circom to cover both cases?