primitives: rm more alloy_primitives reexports (#11222)

This commit is contained in:
Thomas Coratger
2024-09-26 13:29:18 +02:00
committed by GitHub
parent edd8fe4648
commit f2a508df34
64 changed files with 146 additions and 104 deletions

View File

@ -182,7 +182,8 @@ impl BlockBatchRecord {
mod tests {
use super::*;
use alloc::collections::BTreeMap;
use reth_primitives::{Address, Log, Receipt};
use alloy_primitives::Address;
use reth_primitives::{Log, Receipt};
use reth_prune_types::{PruneMode, ReceiptsLogPruneConfig};
#[test]

View File

@ -1,6 +1,7 @@
use crate::primitives::alloy_primitives::{BlockNumber, StorageKey, StorageValue};
use alloy_primitives::Address;
use core::ops::{Deref, DerefMut};
use reth_primitives::{Account, Address, B256, U256};
use reth_primitives::{Account, B256, U256};
use reth_storage_errors::provider::{ProviderError, ProviderResult};
use revm::{
db::DatabaseRef,

View File

@ -1,7 +1,8 @@
use crate::precompile::HashMap;
use alloy_primitives::Address;
use reth_chainspec::{ChainSpec, EthereumHardforks};
use reth_consensus_common::calc;
use reth_primitives::{Address, Block, Withdrawal, Withdrawals, U256};
use reth_primitives::{Block, Withdrawal, Withdrawals, U256};
/// Collect all balance changes at the end of the block.
///

View File

@ -2,9 +2,8 @@ use std::collections::HashSet;
use crate::precompile::HashMap;
use alloc::vec::Vec;
use reth_primitives::{
keccak256, Account, Address, BlockNumber, Bytecode, Bytes, StorageKey, B256, U256,
};
use alloy_primitives::{keccak256, Address, BlockNumber, StorageKey};
use reth_primitives::{Account, Bytecode, Bytes, B256, U256};
use reth_storage_api::{
AccountReader, BlockHashReader, StateProofProvider, StateProvider, StateRootProvider,
StorageRootProvider,