Skip to content

Commit

Permalink
use NodeTypes and fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Nov 12, 2024
1 parent 1c66e7e commit 6789925
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/storage/provider/src/providers/database/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ use metrics::DurationsRecorder;
use rayon::slice::ParallelSliceMut;
use reth_chainspec::{ChainInfo, ChainSpecProvider, EthChainSpec, EthereumHardforks};
use reth_db::{
common::KeyValue, cursor::{DbDupCursorRW, RangeWalker}, table::TableRow, tables, BlockNumberList, PlainAccountState, PlainStorageState
common::KeyValue,
cursor::{DbDupCursorRW, RangeWalker},
table::TableRow,
tables, BlockNumberList, PlainAccountState, PlainStorageState,
};
use reth_db_api::{
cursor::{DbCursorRO, DbCursorRW, DbDupCursorRO},
Expand Down Expand Up @@ -685,7 +688,7 @@ impl<TX: DbTx + 'static, N: NodeTypes> DatabaseProvider<TX, N> {
range: impl RangeBounds<BlockNumber> + Clone,
) -> ProviderResult<Vec<SealedBlockWithSenders>>
where
Spec: EthereumHardforks,
N::ChainSpec: EthereumHardforks,
{
// For blocks we need:
//
Expand Down

0 comments on commit 6789925

Please sign in to comment.