primitives: rm more alloy_primitives reexports (#11255)

This commit is contained in:
Thomas Coratger
2024-09-29 18:48:54 +02:00
committed by GitHub
parent 55bf29e6d2
commit ea1d04aa75
70 changed files with 150 additions and 128 deletions

View File

@ -77,9 +77,10 @@ pub trait DatabaseStateRoot<'a, TX>: Sized {
/// # Example
///
/// ```
/// use alloy_primitives::U256;
/// use reth_db::test_utils::create_test_rw_db;
/// use reth_db_api::database::Database;
/// use reth_primitives::{Account, U256};
/// use reth_primitives::Account;
/// use reth_trie::{updates::TrieUpdates, HashedPostState, StateRoot};
/// use reth_trie_db::DatabaseStateRoot;
///
@ -267,10 +268,10 @@ impl<TX: DbTx> DatabaseHashedPostState<TX> for HashedPostState {
#[cfg(test)]
mod tests {
use super::*;
use alloy_primitives::{map::HashMap, Address};
use alloy_primitives::{map::HashMap, Address, U256};
use reth_db::test_utils::create_test_rw_db;
use reth_db_api::database::Database;
use reth_primitives::{hex, revm_primitives::AccountInfo, U256};
use reth_primitives::{hex, revm_primitives::AccountInfo};
use revm::db::BundleState;
#[test]