Closed norswap closed 1 year ago
@eerkaijun Do you know why the existing contracts add bytes calldata _proof
parameters, but those I'm generating with Circom (I have version 2.1.4) have uint256[24] calldata _proof
instead?
@norswap Hmmm I just tried regenerating the verifier contract and it's giving me bytes calldata _proof
as the parameters. I have 2.1.4 for circom too. What is your snarkjs version?
Okay seems like snarkjs recently just upgraded to 0.7.x version and I am using a slightly older version (0.6.11). Once I upgrade my snarkjs then I got the same parameters as you.
Context (Problem, Motivation, Solution)
The Github issues asks for people to lint, but we haven't actually done this consistently. This PR intends to put the code in a linted state + improves the tooling around linting.
Describe Your Changes
make install
ed from circuits repo and would work, and not case any undue warning or linting issuemake lint
will still check for them (just not in Circom contracts).forge fmt
to format code.TODO:
Checklist
make lint
and fixed resulting issues