From 057a32ab309a5169aac75ee04e6ba6cea99dcb00 Mon Sep 17 00:00:00 2001 From: Alex Forshtat Date: Tue, 15 Oct 2024 15:26:16 +0200 Subject: [PATCH] Inline variable --- packages/sdk/src/PreVerificationGasCalculator.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/sdk/src/PreVerificationGasCalculator.ts b/packages/sdk/src/PreVerificationGasCalculator.ts index d24f8c44..9a6d87c9 100644 --- a/packages/sdk/src/PreVerificationGasCalculator.ts +++ b/packages/sdk/src/PreVerificationGasCalculator.ts @@ -106,9 +106,7 @@ export class PreVerificationGasCalculator { const userOpSpecificOverhead = callDataCost + userOpDataWordsOverhead + this.config.perUserOpGasOverhead const userOpShareOfBundleCost = this.config.fixedGasOverhead / this.config.expectedBundleSize - const preVerificationGas = Math.round(userOpSpecificOverhead + userOpShareOfBundleCost) - console.log(`calculate preVerificationGas: ${preVerificationGas} callDataCost: ${callDataCost}`) - return preVerificationGas + return Math.round(userOpSpecificOverhead + userOpShareOfBundleCost) } _fillUserOpWithDummyData (userOp: Partial): UserOperation {