mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm more alloy_primitives reexports (#11325)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#![allow(unreachable_pub)]
|
||||
use alloy_primitives::{Address, B256, U256};
|
||||
use alloy_primitives::{Address, Sealable, B256, U256};
|
||||
use itertools::concat;
|
||||
use reth_chainspec::ChainSpec;
|
||||
use reth_db::{tables, test_utils::TempDatabase, Database, DatabaseEnv};
|
||||
@ -7,7 +7,7 @@ use reth_db_api::{
|
||||
cursor::DbCursorRO,
|
||||
transaction::{DbTx, DbTxMut},
|
||||
};
|
||||
use reth_primitives::{alloy_primitives::Sealable, Account, SealedBlock, SealedHeader};
|
||||
use reth_primitives::{Account, SealedBlock, SealedHeader};
|
||||
use reth_provider::{DatabaseProvider, DatabaseProviderFactory, TrieWriter};
|
||||
use reth_stages::{
|
||||
stages::{AccountHashingStage, StorageHashingStage},
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
use crate::stages::MERKLE_STAGE_DEFAULT_CLEAN_THRESHOLD;
|
||||
use alloy_primitives::BlockNumber;
|
||||
use alloy_primitives::{BlockNumber, Sealable};
|
||||
use num_traits::Zero;
|
||||
use reth_config::config::ExecutionConfig;
|
||||
use reth_db::{static_file::HeaderMask, tables};
|
||||
@ -10,7 +10,7 @@ use reth_evm::{
|
||||
};
|
||||
use reth_execution_types::{Chain, ExecutionOutcome};
|
||||
use reth_exex::{ExExManagerHandle, ExExNotification};
|
||||
use reth_primitives::{alloy_primitives::Sealable, Header, SealedHeader, StaticFileSegment};
|
||||
use reth_primitives::{Header, SealedHeader, StaticFileSegment};
|
||||
use reth_primitives_traits::format_gas_throughput;
|
||||
use reth_provider::{
|
||||
providers::{StaticFileProvider, StaticFileProviderRWRefMut, StaticFileWriter},
|
||||
|
||||
@ -378,12 +378,10 @@ mod tests {
|
||||
use crate::test_utils::{
|
||||
stage_test_suite, ExecuteStageTestRunner, StageTestRunner, UnwindStageTestRunner,
|
||||
};
|
||||
use alloy_primitives::B256;
|
||||
use alloy_primitives::{Sealable, B256};
|
||||
use assert_matches::assert_matches;
|
||||
use reth_execution_types::ExecutionOutcome;
|
||||
use reth_primitives::{
|
||||
alloy_primitives::Sealable, BlockBody, SealedBlock, SealedBlockWithSenders,
|
||||
};
|
||||
use reth_primitives::{BlockBody, SealedBlock, SealedBlockWithSenders};
|
||||
use reth_provider::{BlockWriter, ProviderFactory, StaticFileProviderFactory};
|
||||
use reth_stages_api::StageUnitCheckpoint;
|
||||
use reth_testing_utils::generators::{self, random_header, random_header_range};
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
use alloy_primitives::{BlockNumber, B256};
|
||||
use alloy_primitives::{BlockNumber, Sealable, B256};
|
||||
use reth_codecs::Compact;
|
||||
use reth_consensus::ConsensusError;
|
||||
use reth_db::tables;
|
||||
use reth_db_api::transaction::{DbTx, DbTxMut};
|
||||
use reth_primitives::{alloy_primitives::Sealable, GotExpected, SealedHeader};
|
||||
use reth_primitives::{GotExpected, SealedHeader};
|
||||
use reth_provider::{
|
||||
DBProvider, HeaderProvider, ProviderError, StageCheckpointReader, StageCheckpointWriter,
|
||||
StatsReader, TrieWriter,
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
use alloy_primitives::{keccak256, Address, BlockNumber, TxNumber, B256, U256};
|
||||
use alloy_primitives::{keccak256, Address, BlockNumber, TxHash, TxNumber, B256, U256};
|
||||
use reth_chainspec::MAINNET;
|
||||
use reth_db::{
|
||||
tables,
|
||||
@ -15,7 +15,7 @@ use reth_db_api::{
|
||||
DatabaseError as DbError,
|
||||
};
|
||||
use reth_primitives::{
|
||||
Account, Receipt, SealedBlock, SealedHeader, StaticFileSegment, StorageEntry, TxHash,
|
||||
Account, Receipt, SealedBlock, SealedHeader, StaticFileSegment, StorageEntry,
|
||||
};
|
||||
use reth_provider::{
|
||||
providers::{StaticFileProvider, StaticFileProviderRWRefMut, StaticFileWriter},
|
||||
|
||||
Reference in New Issue
Block a user