0xPARC / circom-starter

basic circom project using hardhat-circom (upgrade to circom2 is WIP)
126 stars 44 forks source link

feat: Implement testing using hardhat-circom utilities #8

Closed phated closed 2 years ago

phated commented 2 years ago

This implements testing into the project based on the new testing utilities available in hardhat-circom v3.2.0

It also shows how to use circomlibjs to test circuits that use circomlib circuits (check out the hash.test.js file)

I had to update the solidity compilers because the contracts get compiled before hardhat test and we didn't have a valid compiler.