From 2f6c7b5577c0e7168278ef32e5d77692cbaff86e Mon Sep 17 00:00:00 2001 From: Dat Luong Date: Tue, 9 Apr 2024 10:21:26 +0700 Subject: [PATCH] chore: lint --- pkg/mev/bundle_sender_test.go | 4 +++- pkg/mev/gas_bundle_estimator.go | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/mev/bundle_sender_test.go b/pkg/mev/bundle_sender_test.go index 828d8ea..f30938c 100644 --- a/pkg/mev/bundle_sender_test.go +++ b/pkg/mev/bundle_sender_test.go @@ -143,7 +143,9 @@ func Test_SimulateBundle(t *testing.T) { require.NoError(t, err) gasBundleEstimator := mev.NewGasBundleEstimator(ethClient) - client, err := mev.NewClient(http.DefaultClient, simulationEndpoint, nil, false, mev.BundleSenderTypeFlashbot, gasBundleEstimator) + client, err := mev.NewClient(http.DefaultClient, + simulationEndpoint, nil, false, + mev.BundleSenderTypeFlashbot, gasBundleEstimator) require.NoError(t, err) simulationResponse, err := client.SimulateBundle(context.Background(), uint64(blockNumber), txs...) diff --git a/pkg/mev/gas_bundle_estimator.go b/pkg/mev/gas_bundle_estimator.go index 5d55bac..e415b31 100644 --- a/pkg/mev/gas_bundle_estimator.go +++ b/pkg/mev/gas_bundle_estimator.go @@ -2,6 +2,7 @@ package mev import ( "context" + "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil"