mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-14 01:38:05 -05:00
chore: relax EngineValidatorAddOn impl (#18052)
This commit is contained in:
@@ -333,7 +333,8 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<N, EthB, PVB, EB, EVB> EngineValidatorAddOn<N> for EthereumAddOns<N, EthB, PVB, EB, EVB>
|
||||
impl<N, EthB, PVB, EB, EVB, RpcMiddleware> EngineValidatorAddOn<N>
|
||||
for EthereumAddOns<N, EthB, PVB, EB, EVB, RpcMiddleware>
|
||||
where
|
||||
N: FullNodeComponents<
|
||||
Types: NodeTypes<
|
||||
@@ -349,6 +350,7 @@ where
|
||||
EVB: EngineValidatorBuilder<N>,
|
||||
EthApiError: FromEvmError<N::Evm>,
|
||||
EvmFactoryFor<N::Evm>: EvmFactory<Tx = TxEnv>,
|
||||
RpcMiddleware: Send,
|
||||
{
|
||||
type ValidatorBuilder = EVB;
|
||||
|
||||
|
||||
@@ -1180,13 +1180,15 @@ pub trait EngineValidatorAddOn<Node: FullNodeComponents>: Send {
|
||||
fn engine_validator_builder(&self) -> Self::ValidatorBuilder;
|
||||
}
|
||||
|
||||
impl<N, EthB, PVB, EB, EVB> EngineValidatorAddOn<N> for RpcAddOns<N, EthB, PVB, EB, EVB>
|
||||
impl<N, EthB, PVB, EB, EVB, RpcMiddleware> EngineValidatorAddOn<N>
|
||||
for RpcAddOns<N, EthB, PVB, EB, EVB, RpcMiddleware>
|
||||
where
|
||||
N: FullNodeComponents,
|
||||
EthB: EthApiBuilder<N>,
|
||||
PVB: Send,
|
||||
EB: EngineApiBuilder<N>,
|
||||
EVB: EngineValidatorBuilder<N>,
|
||||
RpcMiddleware: Send,
|
||||
{
|
||||
type ValidatorBuilder = EVB;
|
||||
|
||||
|
||||
@@ -620,14 +620,15 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<N, NetworkT, PVB, EB, EVB> EngineValidatorAddOn<N>
|
||||
for OpAddOns<N, OpEthApiBuilder<NetworkT>, PVB, EB, EVB>
|
||||
impl<N, NetworkT, PVB, EB, EVB, RpcMiddleware> EngineValidatorAddOn<N>
|
||||
for OpAddOns<N, OpEthApiBuilder<NetworkT>, PVB, EB, EVB, RpcMiddleware>
|
||||
where
|
||||
N: FullNodeComponents,
|
||||
OpEthApiBuilder<NetworkT>: EthApiBuilder<N>,
|
||||
PVB: Send,
|
||||
EB: EngineApiBuilder<N>,
|
||||
EVB: EngineValidatorBuilder<N>,
|
||||
RpcMiddleware: Send,
|
||||
{
|
||||
type ValidatorBuilder = EVB;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user