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,8 +1,7 @@
use alloy_primitives::B256;
use alloy_primitives::{BlockNumber, B256};
use reth_optimism_primitives::bedrock::{BEDROCK_HEADER, BEDROCK_HEADER_HASH, BEDROCK_HEADER_TTD};
use reth_primitives::{
BlockBody, BlockNumber, Header, SealedBlock, SealedBlockWithSenders, SealedHeader,
StaticFileSegment, U256,
BlockBody, Header, SealedBlock, SealedBlockWithSenders, SealedHeader, StaticFileSegment, U256,
};
use reth_provider::{
providers::StaticFileProvider, BlockWriter, StageCheckpointWriter, StaticFileWriter,

View File

@ -1,10 +1,10 @@
//! Codec for reading raw receipts from a file.
use alloy_primitives::B256;
use alloy_primitives::{Address, Bloom, B256};
use alloy_rlp::{Decodable, RlpDecodable};
use reth_primitives::{
bytes::{Buf, BytesMut},
Address, Bloom, Bytes, Log, Receipt, TxType,
Bytes, Log, Receipt, TxType,
};
use tokio_util::codec::Decoder;