From 12c4aaaf0cfcdb45a03aef6b8c3b72834cff7129 Mon Sep 17 00:00:00 2001 From: Alex Forshtat Date: Wed, 23 Oct 2024 15:29:27 +0200 Subject: [PATCH] Update Utils.ts --- packages/utils/src/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/utils/src/Utils.ts b/packages/utils/src/Utils.ts index acd7514c..1bde3b0b 100644 --- a/packages/utils/src/Utils.ts +++ b/packages/utils/src/Utils.ts @@ -215,7 +215,7 @@ export function sum (...args: BigNumberish[]): BigNumber { * the cost is the sum of the verification gas limits and call gas limit, multiplied by the maxFeePerGas. * @param userOp */ -export function getUserOpMaxCost (userOp: UserOperation): BigNumber { +export function getUserOpMaxCost (userOp: OperationBase): BigNumber { const preVerificationGas: BigNumberish = (userOp as UserOperation).preVerificationGas return sum( preVerificationGas ?? 0,