Skip to content

Commit

Permalink
Plugin 0.5.0 compatability (#7)
Browse files Browse the repository at this point in the history
* plugin 0.5.0 compatability fix

* refactor constraints

* add plonk tests

* update hardhat-zkit version
  • Loading branch information
mllwchrry authored Nov 13, 2024
1 parent 4b66389 commit 698f4c6
Show file tree
Hide file tree
Showing 26 changed files with 1,112 additions and 989 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ await expect(matrix).to.useSolidityVerifier(matrixVerifier).and.verifyProof(proo
const matrix = await zkit.getCircuit("Matrix");

// constraints > 6
expect(matrix).to.have.constraints.gt(6);
expect(matrix).to.have.constraints.greaterThan(6);
await expect(matrix).to.have.constraints.gt(6);
await expect(matrix).to.have.constraints.greaterThan(6);

// constraints < 10
expect(matrix).to.have.constraints.lt(10);
expect(matrix).to.have.constraints.lessThan(10);
await expect(matrix).to.have.constraints.lt(10);
await expect(matrix).to.have.constraints.lessThan(10);
```

## Known limitations
Expand Down
Loading

0 comments on commit 698f4c6

Please sign in to comment.