mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use reth-primitives-traits-directly (#13386)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
use alloy_primitives::{Address, BlockNumber};
|
||||
use auto_impl::auto_impl;
|
||||
use reth_db_models::AccountBeforeTx;
|
||||
use reth_primitives::Account;
|
||||
use reth_primitives_traits::Account;
|
||||
use reth_storage_errors::provider::ProviderResult;
|
||||
use std::{
|
||||
collections::{BTreeMap, BTreeSet},
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
use alloy_rpc_types_engine::ForkchoiceState;
|
||||
use reth_primitives::SealedHeader;
|
||||
use reth_primitives_traits::SealedHeader;
|
||||
use std::time::Instant;
|
||||
|
||||
/// A type that can track updates related to fork choice updates.
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
use alloy_eips::BlockHashOrNumber;
|
||||
use alloy_primitives::{BlockHash, BlockNumber, U256};
|
||||
use reth_primitives::SealedHeader;
|
||||
use reth_primitives_traits::BlockHeader;
|
||||
use reth_primitives_traits::{BlockHeader, SealedHeader};
|
||||
use reth_storage_errors::provider::ProviderResult;
|
||||
use std::ops::RangeBounds;
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
use alloy_primitives::{Address, BlockNumber, B256};
|
||||
use auto_impl::auto_impl;
|
||||
use reth_db::models::{AccountBeforeTx, BlockNumberAddress};
|
||||
use reth_primitives::StorageEntry;
|
||||
use reth_primitives_traits::StorageEntry;
|
||||
use reth_storage_errors::provider::ProviderResult;
|
||||
use std::ops::{RangeBounds, RangeInclusive};
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
use reth_primitives::NodePrimitives;
|
||||
use reth_primitives_traits::NodePrimitives;
|
||||
|
||||
/// Provider implementation that knows configured [`NodePrimitives`].
|
||||
#[auto_impl::auto_impl(&, Arc, Box)]
|
||||
|
||||
@ -6,7 +6,7 @@ use alloy_consensus::constants::KECCAK_EMPTY;
|
||||
use alloy_eips::{BlockId, BlockNumberOrTag};
|
||||
use alloy_primitives::{Address, BlockHash, BlockNumber, StorageKey, StorageValue, B256, U256};
|
||||
use auto_impl::auto_impl;
|
||||
use reth_primitives::Bytecode;
|
||||
use reth_primitives_traits::Bytecode;
|
||||
use reth_storage_errors::provider::ProviderResult;
|
||||
use reth_trie::HashedPostState;
|
||||
use reth_trie_db::StateCommitment;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use alloy_primitives::{Address, BlockNumber, B256};
|
||||
use reth_db_api::models::BlockNumberAddress;
|
||||
use reth_primitives::StorageEntry;
|
||||
use reth_primitives_traits::StorageEntry;
|
||||
use reth_storage_errors::provider::ProviderResult;
|
||||
use std::{
|
||||
collections::{BTreeMap, BTreeSet},
|
||||
|
||||
Reference in New Issue
Block a user