From c8fa3be450b4f65d378f97e79610632b5fb15755 Mon Sep 17 00:00:00 2001 From: livingrockrises <90545960+livingrockrises@users.noreply.github.com> Date: Thu, 17 Oct 2024 16:28:34 +0400 Subject: [PATCH] Update test/base/TestBase.sol Co-authored-by: filmakarov --- test/base/TestBase.sol | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/base/TestBase.sol b/test/base/TestBase.sol index eb1c1b7..e7e1e64 100644 --- a/test/base/TestBase.sol +++ b/test/base/TestBase.sol @@ -143,14 +143,14 @@ abstract contract TestBase is CheatCodes, TestHelper, BaseEventsAndErrors { // Create userOp with no gas estimates userOp = buildUserOpWithCalldata(sender, "", address(VALIDATOR_MODULE)); - PaymasterData memory pmData = PaymasterData( - 100_000, - uint128(postOpGasLimitOverride), - DAPP_ACCOUNT.addr, - uint48(block.timestamp + 1 days), - uint48(block.timestamp), - priceMarkup - ); + PaymasterData memory pmData = PaymasterData({ + validationGasLimit: 100_000, + postOpGasLimit: uint128(postOpGasLimitOverride), + paymasterId: DAPP_ACCOUNT.addr, + validUntil: uint48(block.timestamp + 1 days), + validAfter: uint48(block.timestamp), + priceMarkup: priceMarkup + }); (userOp.paymasterAndData,) = generateAndSignPaymasterData(userOp, PAYMASTER_SIGNER, paymaster, pmData); userOp.signature = signUserOp(sender, userOp);