Skip to content

Commit

Permalink
Merge branch 'feat/sponsorship-paymaster-gas-accounting' into feat/me…
Browse files Browse the repository at this point in the history
…thod-for-withdrawable-excess-balance
  • Loading branch information
livingrockrises committed Dec 19, 2023
2 parents a95f06d + 1ef46df commit 9d8bbe3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/scw-contracts
Submodule scw-contracts updated 189 files
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ describe("EntryPoint with VerifyingPaymaster Singleton", function () {
console.log("paymaster Id ", paymasterId);
const userOp = await getUserOpWithPaymasterInfo(paymasterId);

// Review: for catching custom errors in better ways
await expect(
entryPoint.callStatic.simulateValidation(userOp)
).to.be.revertedWithCustomError(entryPoint, "FailedOp");
Expand Down Expand Up @@ -669,7 +670,7 @@ describe("EntryPoint with VerifyingPaymaster Singleton", function () {
);
});

it("Reverts when paymasterIdBalance is not enough", async () => {
it("Reverts withdraw when paymasterIdBalance is not enough", async () => {
const paymasterId = await depositorSigner.getAddress();

await expect(
Expand Down

0 comments on commit 9d8bbe3

Please sign in to comment.