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

@ -1,7 +1,7 @@
//! Shared models for <https://github.com/ethereum/tests>
use crate::{assert::assert_equal, Error};
use alloy_primitives::{Address, Bloom, Bytes, B256, B64, U256};
use alloy_primitives::{keccak256, Address, Bloom, Bytes, B256, B64, U256};
use reth_chainspec::{ChainSpec, ChainSpecBuilder};
use reth_db::tables;
use reth_db_api::{
@ -9,8 +9,7 @@ use reth_db_api::{
transaction::{DbTx, DbTxMut},
};
use reth_primitives::{
keccak256, Account as RethAccount, Bytecode, Header as RethHeader, SealedHeader, StorageEntry,
Withdrawals,
Account as RethAccount, Bytecode, Header as RethHeader, SealedHeader, StorageEntry, Withdrawals,
};
use serde::Deserialize;
use std::{collections::BTreeMap, ops::Deref};

View File

@ -18,7 +18,8 @@ use std::{
///
/// # Example
/// ```
/// # use reth_primitives::{Address, U256, hex, Bytes};
/// # use alloy_primitives::Address;
/// # use reth_primitives::{U256, hex, Bytes};
/// # use reth_testing_utils::GenesisAllocator;
/// # use std::str::FromStr;
/// let mut allocator = GenesisAllocator::default();