chore: rename Block*Provider for Block*Reader (#3385)

This commit is contained in:
joshieDo
2023-06-26 15:13:45 +01:00
committed by GitHub
parent 9c1b48b983
commit 054f30f43c
52 changed files with 188 additions and 194 deletions

View File

@ -20,7 +20,7 @@ use reth_primitives::{
BlockBody, BlockHash, BlockHashOrNumber, BlockNumber, ChainSpec, Header, SealedBlock,
SealedHeader, H256, U256,
};
use reth_provider::{BlockProviderIdExt, CanonStateNotificationSender};
use reth_provider::{BlockReaderIdExt, CanonStateNotificationSender};
use reth_transaction_pool::TransactionPool;
use std::{collections::HashMap, sync::Arc};
use tokio::sync::{mpsc::UnboundedSender, RwLock, RwLockReadGuard, RwLockWriteGuard};
@ -90,7 +90,7 @@ pub struct AutoSealBuilder<Client, Pool> {
impl<Client, Pool: TransactionPool> AutoSealBuilder<Client, Pool>
where
Client: BlockProviderIdExt,
Client: BlockReaderIdExt,
{
/// Creates a new builder instance to configure all parts.
pub fn new(