Skip to content

Commit

Permalink
chore: remove base paymaster (aa33)
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler committed Aug 12, 2024
1 parent ebe6ffc commit c997163
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions tests/modules/write.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ describe("Modules:Write", () => {
expect(nftBalanceAfter - nftBalanceBefore).toBe(1n);
}, 50000);

test("should use MultichainValidationModule to mint an NFT on two chains with sponsorship", async () => {
test.skip("should use MultichainValidationModule to mint an NFT on two chains with sponsorship", async () => {
const nftAddress: Hex = "0x1758f42Af7026fBbB559Dc60EcE0De3ef81f665e";

const chainIdBase = 84532;
Expand Down Expand Up @@ -478,19 +478,17 @@ describe("Modules:Write", () => {
data: encodedCall,
};

const options = {
...withSponsorship, gasOffset: {
verificationGasLimitOffsetPct: 100,
preVerificationGasOffsetPct: 50,
},
nonceOptions
}

const [partialUserOp1, partialUserOp2] = await Promise.all([
baseAccount.buildUserOp([transaction], {
...withSponsorship, gasOffset: {
verificationGasLimitOffsetPct: 100,
preVerificationGasOffsetPct: 50
}
}),
polygonAccount.buildUserOp([transaction], {
...withSponsorship, gasOffset: {
verificationGasLimitOffsetPct: 100,
preVerificationGasOffsetPct: 50
}
}),
baseAccount.buildUserOp([transaction], options),
polygonAccount.buildUserOp([transaction], options),
]);

expect(partialUserOp1.paymasterAndData).not.toBe("0x");
Expand Down

0 comments on commit c997163

Please sign in to comment.