Skip to content

Commit

Permalink
fix: remove 'callStatic' method in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sifnoc committed Feb 23, 2024
1 parent eb067b9 commit 6a82630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/test/Verifiers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe("Verifier Contracts", () => {
});

it("should revert grand sum proof", async () => {
await expect(snarkVerifier.callStatic.verifyProof(verifyingKey.address, commitmentCalldata.grand_sums_batch_proof, [1])).to.be.reverted;
await expect(snarkVerifier.verifyProof(verifyingKey.address, commitmentCalldata.grand_sums_batch_proof, [1])).to.be.reverted;
});
});

Expand Down Expand Up @@ -170,7 +170,7 @@ describe("Verifier Contracts", () => {

let wrongProofs = ethers.utils.concat([snarkProofarray, snarkProofarray]);

await expect(inclusionVerifier.callStatic.verifyProof(
await expect(inclusionVerifier.verifyProof(
verifyingKey.address,
wrongProofs,
[challenges[0], challenges[1], challenges[2], challenges[3]],
Expand Down

0 comments on commit 6a82630

Please sign in to comment.