Skip to content

Commit

Permalink
Update pi and proof data, and integration test.
Browse files Browse the repository at this point in the history
  • Loading branch information
silathdiir committed Dec 13, 2023
1 parent c929ca6 commit e4e7abe
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/integration-test/ZkEvmVerifierV1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe("ZkEvmVerifierV1", async () => {
beforeEach(async () => {
[deployer] = await ethers.getSigners();

const bytecode = hexlify(fs.readFileSync("./src/libraries/verifier/plonk-verifier/plonk_verifier_0.5.1.bin"));
const bytecode = hexlify(fs.readFileSync("./src/libraries/verifier/plonk-verifier/plonk_verifier_0.9.8.bin"));
const tx = await deployer.sendTransaction({ data: bytecode });
const receipt = await tx.wait();

Expand All @@ -25,8 +25,8 @@ describe("ZkEvmVerifierV1", async () => {
});

it("should succeed", async () => {
const proof = hexlify(fs.readFileSync("./integration-test/testdata/plonk_verifier_0.5.1_proof.data"));
const instances = fs.readFileSync("./integration-test/testdata/plonk_verifier_0.5.1_pi.data");
const proof = hexlify(fs.readFileSync("./integration-test/testdata/plonk_verifier_0.9.8_proof.data"));
const instances = fs.readFileSync("./integration-test/testdata/plonk_verifier_0.9.8_pi.data");

const publicInputHash = new Uint8Array(32);
for (let i = 0; i < 32; i++) {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit e4e7abe

Please sign in to comment.