Skip to content

Commit fabf959

Browse files
committed
disable blobpool (#536)
1 parent 3438a74 commit fabf959

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

eth/backend.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ import (
4343
"github.com/ava-labs/subnet-evm/core/rawdb"
4444
"github.com/ava-labs/subnet-evm/core/state/pruner"
4545
"github.com/ava-labs/subnet-evm/core/txpool"
46-
"github.com/ava-labs/subnet-evm/core/txpool/blobpool"
4746
"github.com/ava-labs/subnet-evm/core/txpool/legacypool"
4847
"github.com/ava-labs/subnet-evm/core/types"
4948
"github.com/ava-labs/subnet-evm/core/vm"
@@ -242,12 +241,14 @@ func New(
242241

243242
eth.bloomIndexer.Start(eth.blockchain)
244243

245-
config.BlobPool.Datadir = ""
246-
blobPool := blobpool.New(config.BlobPool, &chainWithFinalBlock{eth.blockchain})
244+
// Uncomment the following to enable the new blobpool
245+
246+
// config.BlobPool.Datadir = ""
247+
// blobPool := blobpool.New(config.BlobPool, &chainWithFinalBlock{eth.blockchain})
247248

248249
legacyPool := legacypool.New(config.TxPool, eth.blockchain)
249250

250-
eth.txPool, err = txpool.New(new(big.Int).SetUint64(config.TxPool.PriceLimit), eth.blockchain, []txpool.SubPool{legacyPool, blobPool})
251+
eth.txPool, err = txpool.New(new(big.Int).SetUint64(config.TxPool.PriceLimit), eth.blockchain, []txpool.SubPool{legacyPool}) //, blobPool})
251252
if err != nil {
252253
return nil, err
253254
}

eth/chain_with_final_block.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//nolint:unused
12
package eth
23

34
import (

0 commit comments

Comments
 (0)