mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm reth-provider dep from payload crate (#13348)
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -7625,8 +7625,8 @@ dependencies = [
|
||||
"reth-payload-builder-primitives",
|
||||
"reth-payload-primitives",
|
||||
"reth-primitives",
|
||||
"reth-provider",
|
||||
"reth-revm",
|
||||
"reth-storage-api",
|
||||
"reth-transaction-pool",
|
||||
"revm",
|
||||
"tracing",
|
||||
|
||||
@ -16,8 +16,8 @@ workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-revm.workspace = true
|
||||
reth-transaction-pool.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-payload-builder.workspace = true
|
||||
reth-storage-api.workspace = true
|
||||
reth-payload-builder-primitives.workspace = true
|
||||
reth-payload-primitives.workspace = true
|
||||
reth-execution-types.workspace = true
|
||||
|
||||
@ -20,7 +20,7 @@ use reth_basic_payload_builder::{
|
||||
PayloadConfig,
|
||||
};
|
||||
use reth_chain_state::ExecutedBlock;
|
||||
use reth_chainspec::ChainSpec;
|
||||
use reth_chainspec::{ChainSpec, ChainSpecProvider};
|
||||
use reth_errors::RethError;
|
||||
use reth_evm::{system_calls::SystemCaller, ConfigureEvm, NextBlockEnvAttributes};
|
||||
use reth_evm_ethereum::{eip6110::parse_deposits_from_receipts, EthEvmConfig};
|
||||
@ -33,7 +33,6 @@ use reth_primitives::{
|
||||
Block, BlockBody, BlockExt, EthereumHardforks, InvalidTransactionError, Receipt,
|
||||
TransactionSigned,
|
||||
};
|
||||
use reth_provider::{ChainSpecProvider, StateProviderFactory};
|
||||
use reth_revm::database::StateProviderDatabase;
|
||||
use reth_transaction_pool::{
|
||||
error::InvalidPoolTransactionError, noop::NoopTransactionPool, BestTransactions,
|
||||
@ -52,6 +51,7 @@ use tracing::{debug, trace, warn};
|
||||
|
||||
mod config;
|
||||
pub use config::*;
|
||||
use reth_storage_api::StateProviderFactory;
|
||||
|
||||
type BestTransactionsIter<Pool> = Box<
|
||||
dyn BestTransactions<Item = Arc<ValidPoolTransaction<<Pool as TransactionPool>::Transaction>>>,
|
||||
|
||||
Reference in New Issue
Block a user