chore: relax trait bounds for EmptyBodyStorage in storage API (#18842)

This commit is contained in:
MozirDmitriy
2025-10-03 15:36:44 +03:00
committed by GitHub
parent 871bc82eee
commit 5c05beb404

View File

@@ -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,
{