Skip to content

Commit

Permalink
refactor(cli-template-monorepo-subgraph): update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
vplasencia committed Feb 27, 2024
1 parent 0bd8cf8 commit 8527317
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,26 @@ describe("Feedback", () => {

const feedback = encodeBytes32String("Hello World")

const fullProof = await generateProof(users[1], group, feedback, groupId)
const proof = await generateProof(users[1], group, feedback, groupId)

const transaction = feedbackContract.sendFeedback(
fullProof.merkleTreeDepth,
fullProof.merkleTreeRoot,
fullProof.nullifier,
proof.merkleTreeDepth,
proof.merkleTreeRoot,
proof.nullifier,
feedback,
fullProof.points
proof.points
)

await expect(transaction)
.to.emit(semaphoreContract, "ProofValidated")
.withArgs(
groupId,
fullProof.merkleTreeDepth,
fullProof.merkleTreeRoot,
fullProof.nullifier,
fullProof.message,
proof.merkleTreeDepth,
proof.merkleTreeRoot,
proof.nullifier,
proof.message,
groupId,
fullProof.points
proof.points
)
})
})
Expand Down

0 comments on commit 8527317

Please sign in to comment.