Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Feb 28, 2024
1 parent 6f60895 commit 4b9cb12
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ describe('e2e_inclusion_proofs_contract', () => {

await expect(
contract.methods.test_nullifier_inclusion(randomNullifier, true, blockNumber).send().wait(),
).rejects.toThrow(`Low nullifier witness not found for nullifier ${randomNullifier.toString()} at block`);
).rejects.toThrow(`Nullifier witness not found for nullifier ${randomNullifier.toString()} at block`);

await expect(contract.methods.test_nullifier_inclusion(randomNullifier, false, 0n).send().wait()).rejects.toThrow(
`Low nullifier witness not found for nullifier ${randomNullifier.toString()} at block`,
`Nullifier witness not found for nullifier ${randomNullifier.toString()} at block`,
);
});
});
Expand Down

0 comments on commit 4b9cb12

Please sign in to comment.