mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-07 21:45:24 -05:00
feat(l2-withdrawals): Define OpEngineApiBuilder (#14426)
This commit is contained in:
@@ -4,7 +4,7 @@ use crate::{
|
||||
args::RollupArgs,
|
||||
engine::OpEngineValidator,
|
||||
txpool::{OpTransactionPool, OpTransactionValidator},
|
||||
OpEngineTypes,
|
||||
OpEngineApiBuilder, OpEngineTypes,
|
||||
};
|
||||
use op_alloy_consensus::OpPooledTransaction;
|
||||
use reth_chainspec::{EthChainSpec, Hardforks};
|
||||
@@ -202,7 +202,12 @@ impl NodeTypesWithEngine for OpNode {
|
||||
pub struct OpAddOns<N: FullNodeComponents> {
|
||||
/// Rpc add-ons responsible for launching the RPC servers and instantiating the RPC handlers
|
||||
/// and eth-api.
|
||||
pub rpc_add_ons: RpcAddOns<N, OpEthApi<N>, OpEngineValidatorBuilder>,
|
||||
pub rpc_add_ons: RpcAddOns<
|
||||
N,
|
||||
OpEthApi<N>,
|
||||
OpEngineValidatorBuilder,
|
||||
OpEngineApiBuilder<OpEngineValidatorBuilder>,
|
||||
>,
|
||||
/// Data availability configuration for the OP builder.
|
||||
pub da_config: OpDAConfig,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user