Skip to content

tester.js doesn't check circom2 #10

Description

@0xPetra

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions