From f20b540192a2b320e7f6863901b44ee5969e3de7 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 16 Jan 2024 10:34:03 +0100 Subject: [PATCH] chore: use diskfile blobstore --- bin/reth/src/builder/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/reth/src/builder/mod.rs b/bin/reth/src/builder/mod.rs index 657615ab48aa..2a7efea41ba1 100644 --- a/bin/reth/src/builder/mod.rs +++ b/bin/reth/src/builder/mod.rs @@ -90,7 +90,7 @@ use reth_stages::{ }; use reth_tasks::{TaskExecutor, TaskManager}; use reth_transaction_pool::{ - blobstore::InMemoryBlobStore, EthTransactionPool, TransactionPool, + blobstore::DiskFileBlobStore, EthTransactionPool, TransactionPool, TransactionValidationTaskExecutor, }; use revm_inspectors::stack::Hook; @@ -542,7 +542,7 @@ impl NodeConfig { head: Head, executor: &TaskExecutor, data_dir: &ChainPath, - ) -> eyre::Result, InMemoryBlobStore>> + ) -> eyre::Result, DiskFileBlobStore>> where DB: Database + Unpin + Clone + 'static, Tree: BlockchainTreeEngine @@ -551,7 +551,7 @@ impl NodeConfig { + Clone + 'static, { - let blob_store = InMemoryBlobStore::default(); + let blob_store = DiskFileBlobStore::open(data_dir.blobstore_path(), Default::default())?; let validator = TransactionValidationTaskExecutor::eth_builder(Arc::clone(&self.chain)) .with_head_timestamp(head.timestamp) .kzg_settings(self.kzg_settings()?)