From 3be856ce7ea20d14ca2a0705774fe29455d8eba5 Mon Sep 17 00:00:00 2001 From: Arpit Temani Date: Thu, 9 Nov 2023 22:16:38 +0530 Subject: [PATCH] remove blobpool --- eth/backend.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eth/backend.go b/eth/backend.go index 52dfa759ee..e21e760d60 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -39,7 +39,6 @@ import ( "github.com/ethereum/go-ethereum/core/rawdb" "github.com/ethereum/go-ethereum/core/state/pruner" "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/txpool/blobpool" "github.com/ethereum/go-ethereum/core/txpool/legacypool" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" @@ -259,14 +258,13 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) { if config.BlobPool.Datadir != "" { config.BlobPool.Datadir = stack.ResolvePath(config.BlobPool.Datadir) } - blobPool := blobpool.New(config.BlobPool, eth.blockchain) if config.TxPool.Journal != "" { config.TxPool.Journal = stack.ResolvePath(config.TxPool.Journal) } legacyPool := legacypool.New(config.TxPool, eth.blockchain) - eth.txPool, err = txpool.New(new(big.Int).SetUint64(config.TxPool.PriceLimit), eth.blockchain, []txpool.SubPool{legacyPool, blobPool}) + eth.txPool, err = txpool.New(new(big.Int).SetUint64(config.TxPool.PriceLimit), eth.blockchain, []txpool.SubPool{legacyPool}) if err != nil { return nil, err }