chore: reduce revm scope in txpool (#13274)

This commit is contained in:
Matthias Seitz
2024-12-11 08:35:11 +01:00
committed by GitHub
parent 9be5a78146
commit b424ad36dc
8 changed files with 22 additions and 22 deletions

View File

@ -68,7 +68,7 @@ reth-engine-util.workspace = true
reth-prune.workspace = true
# crypto
alloy-eips.workspace = true
alloy-eips = { workspace = true, features = ["kzg"] }
alloy-rlp.workspace = true
alloy-rpc-types = { workspace = true, features = ["engine"] }
alloy-consensus.workspace = true

View File

@ -1,6 +1,9 @@
//! Command for debugging block building.
use alloy_consensus::TxEip4844;
use alloy_eips::{eip2718::Encodable2718, eip4844::BlobTransactionSidecar};
use alloy_eips::{
eip2718::Encodable2718,
eip4844::{env_settings::EnvKzgSettings, BlobTransactionSidecar},
};
use alloy_primitives::{Address, Bytes, B256, U256};
use alloy_rlp::Decodable;
use alloy_rpc_types::engine::{BlobsBundleV1, PayloadAttributes};
@ -33,11 +36,7 @@ use reth_provider::{
BlockHashReader, BlockReader, BlockWriter, ChainSpecProvider, ProviderFactory,
StageCheckpointReader, StateProviderFactory,
};
use reth_revm::{
cached::CachedReads,
database::StateProviderDatabase,
primitives::{EnvKzgSettings, KzgSettings},
};
use reth_revm::{cached::CachedReads, database::StateProviderDatabase, primitives::KzgSettings};
use reth_stages::StageId;
use reth_transaction_pool::{
blobstore::InMemoryBlobStore, BlobStore, EthPooledTransaction, PoolConfig, TransactionOrigin,