chore(deps): rm reth-interfaces dep from reth-revm (#8387)

This commit is contained in:
Matthias Seitz
2024-05-24 13:17:12 +02:00
committed by GitHub
parent 9f61d1856f
commit e0a93193f0
6 changed files with 9 additions and 6 deletions

View File

@ -14,8 +14,9 @@ workspace = true
[dependencies]
# reth
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-provider.workspace = true
reth-storage-errors.workspace = true
reth-execution-errors.workspace = true
reth-consensus-common.workspace = true
reth-trie = { workspace = true, optional = true }

View File

@ -1,7 +1,7 @@
//! Helper for handling execution of multiple blocks.
use crate::{precompile::Address, primitives::alloy_primitives::BlockNumber};
use reth_interfaces::executor::BlockExecutionError;
use reth_execution_errors::BlockExecutionError;
use reth_primitives::{
PruneMode, PruneModes, PruneSegmentError, Receipt, Receipts, MINIMUM_PRUNING_DISTANCE,
};

View File

@ -1,5 +1,6 @@
use reth_primitives::{Address, B256, KECCAK_EMPTY, U256};
use reth_provider::{ProviderError, StateProvider};
use reth_provider::StateProvider;
use reth_storage_errors::provider::ProviderError;
use revm::{
db::DatabaseRef,
primitives::{AccountInfo, Bytecode},

View File

@ -1,5 +1,5 @@
use reth_consensus_common::calc;
use reth_interfaces::executor::{BlockExecutionError, BlockValidationError};
use reth_execution_errors::{BlockExecutionError, BlockValidationError};
use reth_primitives::{
revm::env::fill_tx_env_with_beacon_root_contract_call, Address, ChainSpec, Header, Withdrawal,
B256, U256,

View File

@ -1,9 +1,9 @@
use reth_interfaces::provider::ProviderResult;
use reth_primitives::{
keccak256, trie::AccountProof, Account, Address, BlockNumber, Bytecode, Bytes, StorageKey,
B256, U256,
};
use reth_provider::{AccountReader, BlockHashReader, StateProvider, StateRootProvider};
use reth_storage_errors::provider::ProviderResult;
use reth_trie::updates::TrieUpdates;
use revm::db::BundleState;
use std::collections::HashMap;