mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm node api deps (#7593)
This commit is contained in:
5
Cargo.lock
generated
5
Cargo.lock
generated
@ -6121,8 +6121,9 @@ version = "0.2.0-beta.5"
|
||||
dependencies = [
|
||||
"futures-util",
|
||||
"reth-beacon-consensus",
|
||||
"reth-engine-primitives",
|
||||
"reth-evm",
|
||||
"reth-interfaces",
|
||||
"reth-node-api",
|
||||
"reth-primitives",
|
||||
"reth-provider",
|
||||
"reth-revm",
|
||||
@ -7132,8 +7133,8 @@ name = "reth-revm"
|
||||
version = "0.2.0-beta.5"
|
||||
dependencies = [
|
||||
"reth-consensus-common",
|
||||
"reth-evm",
|
||||
"reth-interfaces",
|
||||
"reth-node-api",
|
||||
"reth-primitives",
|
||||
"reth-provider",
|
||||
"reth-trie",
|
||||
|
||||
@ -20,7 +20,8 @@ reth-provider.workspace = true
|
||||
reth-stages.workspace = true
|
||||
reth-revm.workspace = true
|
||||
reth-transaction-pool.workspace = true
|
||||
reth-node-api.workspace = true
|
||||
reth-evm.workspace = true
|
||||
reth-engine-primitives.workspace = true
|
||||
|
||||
# async
|
||||
futures-util.workspace = true
|
||||
|
||||
@ -16,11 +16,12 @@
|
||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||
|
||||
use reth_beacon_consensus::BeaconEngineMessage;
|
||||
use reth_engine_primitives::EngineTypes;
|
||||
use reth_evm::ConfigureEvm;
|
||||
use reth_interfaces::{
|
||||
consensus::{Consensus, ConsensusError},
|
||||
executor::{BlockExecutionError, BlockValidationError},
|
||||
};
|
||||
use reth_node_api::{ConfigureEvm, EngineTypes};
|
||||
use reth_primitives::{
|
||||
constants::{EMPTY_RECEIPTS, EMPTY_TRANSACTIONS, ETHEREUM_BLOCK_GAS_LIMIT},
|
||||
eip4844::calculate_excess_blob_gas,
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
use crate::{mode::MiningMode, Storage};
|
||||
use futures_util::{future::BoxFuture, FutureExt};
|
||||
use reth_beacon_consensus::{BeaconEngineMessage, ForkchoiceStatus};
|
||||
use reth_engine_primitives::EngineTypes;
|
||||
use reth_evm::ConfigureEvm;
|
||||
use reth_interfaces::consensus::ForkchoiceState;
|
||||
use reth_node_api::{ConfigureEvm, EngineTypes};
|
||||
use reth_primitives::{Block, ChainSpec, IntoRecoveredTransaction, SealedBlockWithSenders};
|
||||
use reth_provider::{CanonChainTracker, CanonStateNotificationSender, Chain, StateProviderFactory};
|
||||
use reth_stages::PipelineEvent;
|
||||
|
||||
@ -17,7 +17,7 @@ reth-primitives.workspace = true
|
||||
reth-interfaces.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-consensus-common.workspace = true
|
||||
reth-node-api.workspace = true
|
||||
reth-evm.workspace = true
|
||||
|
||||
# revm
|
||||
revm.workspace = true
|
||||
|
||||
@ -3,8 +3,8 @@ use crate::{
|
||||
processor::EVMProcessor,
|
||||
stack::{InspectorStack, InspectorStackConfig},
|
||||
};
|
||||
use reth_evm::ConfigureEvm;
|
||||
use reth_interfaces::executor::BlockExecutionError;
|
||||
use reth_node_api::ConfigureEvm;
|
||||
use reth_primitives::ChainSpec;
|
||||
use reth_provider::{ExecutorFactory, PrunableBlockExecutor, StateProvider};
|
||||
use std::sync::Arc;
|
||||
|
||||
@ -3,7 +3,7 @@ use reth_interfaces::executor::{
|
||||
BlockExecutionError, BlockValidationError, OptimismBlockExecutionError,
|
||||
};
|
||||
|
||||
use reth_node_api::ConfigureEvm;
|
||||
use reth_evm::ConfigureEvm;
|
||||
use reth_primitives::{
|
||||
proofs::calculate_receipt_root_optimism, revm_primitives::ResultAndState, BlockWithSenders,
|
||||
Bloom, ChainSpec, Hardfork, Receipt, ReceiptWithBloom, TxType, B256, U256,
|
||||
|
||||
@ -11,8 +11,8 @@ use std::{sync::Arc, time::Instant};
|
||||
#[cfg(not(feature = "optimism"))]
|
||||
use tracing::{debug, trace};
|
||||
|
||||
use reth_evm::ConfigureEvm;
|
||||
use reth_interfaces::executor::{BlockExecutionError, BlockValidationError};
|
||||
use reth_node_api::ConfigureEvm;
|
||||
#[cfg(feature = "optimism")]
|
||||
use reth_primitives::revm::env::fill_op_tx_env;
|
||||
#[cfg(not(feature = "optimism"))]
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
use reth_evm::{ConfigureEvm, ConfigureEvmEnv};
|
||||
use reth_interfaces::provider::ProviderResult;
|
||||
use reth_node_api::{ConfigureEvm, ConfigureEvmEnv};
|
||||
use reth_primitives::{
|
||||
keccak256, revm::config::revm_spec, trie::AccountProof, Account, Address, BlockNumber,
|
||||
Bytecode, Bytes, ChainSpec, Head, Header, StorageKey, Transaction, B256, U256,
|
||||
|
||||
Reference in New Issue
Block a user