Skip to content

Commit 1902970

Browse files
authored
chore: relax server impl (#20141)
1 parent 9712fe5 commit 1902970

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/rpc/rpc-eth-api/src/helpers/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Loads chain configuration.
22
3-
use alloy_consensus::{BlockHeader, Header};
3+
use alloy_consensus::BlockHeader;
44
use alloy_eips::{
55
eip7840::BlobParams,
66
eip7910::{EthConfig, EthForkConfig, SystemContract},
@@ -155,9 +155,9 @@ where
155155
impl<Provider, Evm> EthConfigApiServer for EthConfigHandler<Provider, Evm>
156156
where
157157
Provider: ChainSpecProvider<ChainSpec: Hardforks + EthereumHardforks>
158-
+ BlockReaderIdExt<Header = Header>
158+
+ BlockReaderIdExt<Header: HeaderMut>
159159
+ 'static,
160-
Evm: ConfigureEvm<Primitives: NodePrimitives<BlockHeader = Header>> + 'static,
160+
Evm: ConfigureEvm<Primitives: NodePrimitives<BlockHeader = Provider::Header>> + 'static,
161161
{
162162
fn config(&self) -> RpcResult<EthConfig> {
163163
Ok(self.config().map_err(EthApiError::from)?)

0 commit comments

Comments
 (0)