chore: relax EngineValidatorAddOn impl (#18052)

This commit is contained in:
Matthias Seitz
2025-08-25 21:13:25 +02:00
committed by GitHub
parent af57047654
commit dd4aa7cd2a
3 changed files with 9 additions and 4 deletions

View File

@@ -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;