From a11efc77b61c78494c6468e9a51fb6066897a436 Mon Sep 17 00:00:00 2001 From: Will Hester Date: Wed, 30 Oct 2024 18:01:44 +0000 Subject: [PATCH] lint --- go/ethadapter/geth_rpc_client.go | 1 - integration/smartcontract/debug_wallet.go | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/ethadapter/geth_rpc_client.go b/go/ethadapter/geth_rpc_client.go index 3c6dc213a3..a9290cad6e 100644 --- a/go/ethadapter/geth_rpc_client.go +++ b/go/ethadapter/geth_rpc_client.go @@ -359,7 +359,6 @@ func (e *gethRPCClient) prepareBlobTxToRetry(ctx context.Context, txData types.T } blobFeeCap := calcBlobFeeCap(blobBaseFee, retryNumber) - // Calculate GasFeeCap as baseFee * 2 + tipCap baseFee := head.BaseFee gasFeeCap := new(big.Int).Mul(baseFee, big.NewInt(2)) gasFeeCap.Add(gasFeeCap, retryPrice) diff --git a/integration/smartcontract/debug_wallet.go b/integration/smartcontract/debug_wallet.go index df6678048f..b3c277be19 100644 --- a/integration/smartcontract/debug_wallet.go +++ b/integration/smartcontract/debug_wallet.go @@ -3,9 +3,10 @@ package smartcontract import ( "context" "fmt" + "time" + "github.com/ethereum/go-ethereum" "github.com/ten-protocol/go-ten/go/common/retry" - "time" "github.com/ethereum/go-ethereum/core/types" "github.com/ten-protocol/go-ten/go/ethadapter"