Skip to content

Commit

Permalink
fix(contracts): update variable types
Browse files Browse the repository at this point in the history
  • Loading branch information
vplasencia committed Oct 18, 2023
1 parent f5637a8 commit aed7ab1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/test/Semaphore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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]])
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts/test/SemaphoreVoting.ts
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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))
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts/test/SemaphoreWhistleblowing.ts
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit aed7ab1

Please sign in to comment.