From 13bde9bb8572898abab200be7bd1616f5650257e Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 22 Apr 2024 11:04:14 +0200 Subject: [PATCH] eth/gasprice: fix issue in test --- eth/gasprice/gasprice_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eth/gasprice/gasprice_test.go b/eth/gasprice/gasprice_test.go index cbf2ce4c49..b22e75666f 100644 --- a/eth/gasprice/gasprice_test.go +++ b/eth/gasprice/gasprice_test.go @@ -24,8 +24,6 @@ import ( "math/big" "testing" - "github.com/holiman/uint256" - "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/consensus/beacon" @@ -39,6 +37,7 @@ import ( "github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/rpc" + "github.com/holiman/uint256" ) const testHead = 32 @@ -143,7 +142,7 @@ func newTestBackend(t *testing.T, londonBlock *big.Int, cancunBlock *big.Int, pe // Compute empty blob hash. emptyBlob = kzg4844.Blob{} - emptyBlobCommit, _ = kzg4844.BlobToCommitment(emptyBlob) + emptyBlobCommit, _ = kzg4844.BlobToCommitment(&emptyBlob) emptyBlobVHash = kzg4844.CalcBlobHashV1(sha256.New(), &emptyBlobCommit) ) config.LondonBlock = londonBlock