Skip to content

Commit

Permalink
Fixed test naming
Browse files Browse the repository at this point in the history
  • Loading branch information
aii23 committed Aug 26, 2024
1 parent 687743d commit f176813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tests/PLottery.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ describe('Add', () => {
});
await tx.prove();
await tx.sign([deployerKey]).send();
rmStateManager.updateCommitMap(round, testCommitValue.hash());
rmStateManager.addCommit(round, testCommitValue);
};
produceResultInRM = async (round: number) => {
let tx = Mina.transaction(deployerAccount, async () => {
Expand All @@ -172,7 +172,7 @@ describe('Add', () => {
});
await tx2.prove();
await tx2.sign([deployerKey]).send();
rmStateManager.updateResultMap(
rmStateManager.addResultValue(
round,
Poseidon.hash([testCommitValue.value, testVRFValue])
);
Expand Down

0 comments on commit f176813

Please sign in to comment.