diff --git a/packages/contracts/test/Semaphore.ts b/packages/contracts/test/Semaphore.ts index e26ffefee..57daf6035 100644 --- a/packages/contracts/test/Semaphore.ts +++ b/packages/contracts/test/Semaphore.ts @@ -2,7 +2,7 @@ /* eslint-disable jest/valid-expect */ import { Group } from "@semaphore-protocol/group" import { Identity } from "@semaphore-protocol/identity" -import { FullProof, generateProof } from "@semaphore-protocol/proof" +import { SemaphoreProof, generateProof } from "@semaphore-protocol/proof" import { expect } from "chai" import { constants, Signer } from "ethers" import { ethers, run } from "hardhat" @@ -237,7 +237,7 @@ describe("Semaphore", () => { group.addMembers(members) - let fullProof: FullProof + let fullProof: SemaphoreProof before(async () => { await semaphoreContract.addMembers(groupId, [members[1], members[2]]) diff --git a/packages/contracts/test/SemaphoreVoting.ts b/packages/contracts/test/SemaphoreVoting.ts index e92f218e2..79423ea92 100644 --- a/packages/contracts/test/SemaphoreVoting.ts +++ b/packages/contracts/test/SemaphoreVoting.ts @@ -1,7 +1,7 @@ /* eslint-disable jest/valid-expect */ import { Group } from "@semaphore-protocol/group" import { Identity } from "@semaphore-protocol/identity" -import { FullProof, generateProof } from "@semaphore-protocol/proof" +import { SemaphoreProof, generateProof } from "@semaphore-protocol/proof" import { expect } from "chai" import { Signer } from "ethers" import { ethers, run } from "hardhat" @@ -142,7 +142,7 @@ describe("SemaphoreVoting", () => { group.addMembers([identity.commitment, BigInt(1)]) - let fullProof: FullProof + let fullProof: SemaphoreProof before(async () => { await semaphoreVotingContract.connect(accounts[1]).addVoter(pollIds[1], BigInt(1)) diff --git a/packages/contracts/test/SemaphoreWhistleblowing.ts b/packages/contracts/test/SemaphoreWhistleblowing.ts index 77ae0d18b..adc2b4049 100644 --- a/packages/contracts/test/SemaphoreWhistleblowing.ts +++ b/packages/contracts/test/SemaphoreWhistleblowing.ts @@ -1,7 +1,7 @@ /* eslint-disable jest/valid-expect */ import { Group } from "@semaphore-protocol/group" import { Identity } from "@semaphore-protocol/identity" -import { FullProof, generateProof } from "@semaphore-protocol/proof" +import { SemaphoreProof, generateProof } from "@semaphore-protocol/proof" import { expect } from "chai" import { Signer, utils } from "ethers" import { ethers, run } from "hardhat" @@ -143,7 +143,7 @@ describe("SemaphoreWhistleblowing", () => { group.addMembers([identity.commitment, BigInt(1)]) - let fullProof: FullProof + let fullProof: SemaphoreProof before(async () => { await semaphoreWhistleblowingContract.createEntity(entityIds[1], editor, treeDepth)