Skip to content

Commit

Permalink
update the test to reflect exact error
Browse files Browse the repository at this point in the history
  • Loading branch information
livingrockrises committed Nov 19, 2023
1 parent 6074b93 commit 402a442
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,10 @@ describe("EntryPoint with VerifyingPaymaster Singleton", function () {
const paymasterId = await depositorSigner.getAddress();
console.log("paymaster Id ", paymasterId);
const userOp = await getUserOpWithPaymasterInfo(paymasterId);
console.log("entrypoint ", entryPoint.address);

await expect(
entryPoint.callStatic.simulateValidation(userOp)
// ).to.be.revertedWith("FailedOp");
).to.be.reverted;
).to.be.revertedWithCustomError(entryPoint, "FailedOp");
});

it("succeed with valid signature", async () => {
Expand Down

0 comments on commit 402a442

Please sign in to comment.