diff --git a/test/sponsorship-paymaster/biconomy-verifying-paymaster-v2-specs.ts b/test/sponsorship-paymaster/biconomy-verifying-paymaster-v2-specs.ts index c6b50fd..70b6465 100644 --- a/test/sponsorship-paymaster/biconomy-verifying-paymaster-v2-specs.ts +++ b/test/sponsorship-paymaster/biconomy-verifying-paymaster-v2-specs.ts @@ -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 () => {