mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: misc direct imports (#13079)
This commit is contained in:
@ -1,16 +1,14 @@
|
|||||||
use std::collections::HashMap;
|
use crate::BlockExecutionOutput;
|
||||||
|
|
||||||
use alloy_eips::eip7685::Requests;
|
use alloy_eips::eip7685::Requests;
|
||||||
use alloy_primitives::{Address, BlockNumber, Bloom, Log, B256, U256};
|
use alloy_primitives::{logs_bloom, Address, BlockNumber, Bloom, Log, B256, U256};
|
||||||
use reth_primitives::{logs_bloom, Account, Bytecode, Receipts, StorageEntry};
|
use reth_primitives::Receipts;
|
||||||
use reth_primitives_traits::{receipt::ReceiptExt, Receipt};
|
use reth_primitives_traits::{receipt::ReceiptExt, Account, Bytecode, Receipt, StorageEntry};
|
||||||
use reth_trie::HashedPostState;
|
use reth_trie::HashedPostState;
|
||||||
use revm::{
|
use revm::{
|
||||||
db::{states::BundleState, BundleAccount},
|
db::{states::BundleState, BundleAccount},
|
||||||
primitives::AccountInfo,
|
primitives::AccountInfo,
|
||||||
};
|
};
|
||||||
|
use std::collections::HashMap;
|
||||||
use crate::BlockExecutionOutput;
|
|
||||||
|
|
||||||
/// Represents a changed account
|
/// Represents a changed account
|
||||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||||
@ -376,10 +374,12 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
#[cfg(not(feature = "optimism"))]
|
#[cfg(not(feature = "optimism"))]
|
||||||
use alloy_primitives::bytes;
|
use alloy_primitives::bytes;
|
||||||
|
#[cfg(not(feature = "optimism"))]
|
||||||
|
use alloy_primitives::LogData;
|
||||||
use alloy_primitives::{Address, B256};
|
use alloy_primitives::{Address, B256};
|
||||||
use reth_primitives::Receipts;
|
use reth_primitives::Receipts;
|
||||||
#[cfg(not(feature = "optimism"))]
|
#[cfg(not(feature = "optimism"))]
|
||||||
use reth_primitives::{LogData, TxType};
|
use reth_primitives::TxType;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(not(feature = "optimism"))]
|
#[cfg(not(feature = "optimism"))]
|
||||||
|
|||||||
Reference in New Issue
Block a user