From 3b40b326288378098f0251f60e204f1e46c0e477 Mon Sep 17 00:00:00 2001 From: cedoor Date: Fri, 24 Nov 2023 17:58:49 +0000 Subject: [PATCH] fix(poseidon-proof): fix ts errors --- packages/poseidon-proof/src/index.ts | 2 +- packages/poseidon-proof/src/packProof.ts | 2 +- packages/poseidon-proof/src/unpackProof.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/poseidon-proof/src/index.ts b/packages/poseidon-proof/src/index.ts index 8db0e3ab5..78f8eb6dc 100644 --- a/packages/poseidon-proof/src/index.ts +++ b/packages/poseidon-proof/src/index.ts @@ -1,5 +1,5 @@ import generate from "./generate" -import verify from "./verify.1" +import verify from "./verify" export * from "./types" export { generate, verify } diff --git a/packages/poseidon-proof/src/packProof.ts b/packages/poseidon-proof/src/packProof.ts index d70cc1c73..9926de915 100644 --- a/packages/poseidon-proof/src/packProof.ts +++ b/packages/poseidon-proof/src/packProof.ts @@ -1,4 +1,4 @@ -import { Groth16Proof } from "snarkjs" +import { Groth16Proof } from "@zk-kit/groth16" import { PackedProof } from "./types" /** diff --git a/packages/poseidon-proof/src/unpackProof.ts b/packages/poseidon-proof/src/unpackProof.ts index 0086dc8b4..d1fb5bef1 100644 --- a/packages/poseidon-proof/src/unpackProof.ts +++ b/packages/poseidon-proof/src/unpackProof.ts @@ -1,4 +1,4 @@ -import { Groth16Proof } from "snarkjs" +import { Groth16Proof } from "@zk-kit/groth16" import { PackedProof } from "./types" /**