mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: relax trait bounds for EmptyBodyStorage in storage API (#18842)
This commit is contained in:
@@ -3,7 +3,7 @@ use alloc::vec::Vec;
|
||||
use alloy_consensus::Header;
|
||||
use alloy_primitives::BlockNumber;
|
||||
use core::marker::PhantomData;
|
||||
use reth_chainspec::{ChainSpecProvider, EthChainSpec, EthereumHardforks};
|
||||
use reth_chainspec::{ChainSpecProvider, EthereumHardforks};
|
||||
use reth_db_api::{
|
||||
cursor::{DbCursorRO, DbCursorRW},
|
||||
models::StoredBlockOmmers,
|
||||
@@ -206,7 +206,6 @@ impl<T, H> Default for EmptyBodyStorage<T, H> {
|
||||
impl<Provider, T, H> BlockBodyWriter<Provider, alloy_consensus::BlockBody<T, H>>
|
||||
for EmptyBodyStorage<T, H>
|
||||
where
|
||||
Provider: DBProvider<Tx: DbTxMut>,
|
||||
T: SignedTransaction,
|
||||
H: FullBlockHeader,
|
||||
{
|
||||
@@ -231,7 +230,7 @@ where
|
||||
|
||||
impl<Provider, T, H> BlockBodyReader<Provider> for EmptyBodyStorage<T, H>
|
||||
where
|
||||
Provider: ChainSpecProvider<ChainSpec: EthChainSpec + EthereumHardforks> + DBProvider,
|
||||
Provider: ChainSpecProvider<ChainSpec: EthereumHardforks>,
|
||||
T: SignedTransaction,
|
||||
H: FullBlockHeader,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user