@@ -383,12 +383,20 @@ where
383383pub struct RollkitNode {
384384 /// Rollkit-specific arguments
385385 pub args : RollkitArgs ,
386+ /// Transaction forwarding configuration
387+ pub forwarding : lumen_node:: ForwardingConfig ,
386388}
387389
388390impl RollkitNode {
389391 /// Create a new rollkit node with the given arguments
390- pub const fn new ( args : RollkitArgs ) -> Self {
391- Self { args }
392+ pub fn new ( args : RollkitArgs ) -> Self {
393+ let forwarding = lumen_node:: ForwardingConfig {
394+ sequencer_http : args. sequencer_http . clone ( ) ,
395+ sequencer_auth : args. sequencer_auth . clone ( ) ,
396+ disable_tx_pool_gossip : args. disable_tx_pool_gossip ,
397+ ..Default :: default ( )
398+ } ;
399+ Self { args, forwarding }
392400 }
393401}
394402
@@ -400,9 +408,6 @@ impl NodeTypes for RollkitNode {
400408 type Payload = RollkitEngineTypes ;
401409}
402410
403- /// Rollkit node addons configuring RPC types with custom engine validator
404- pub type RollkitNodeAddOns < N > = RpcAddOns < N , EthereumEthApiBuilder , RollkitEngineValidatorBuilder > ;
405-
406411/// Rollkit network builder that optionally disables transaction pool gossip
407412#[ derive( Debug , Clone , Default ) ]
408413pub struct RollkitNetworkBuilder {
@@ -453,6 +458,8 @@ where
453458 }
454459}
455460
461+ pub type RollkitNodeAddOns < N > = RpcAddOns < N , EthereumEthApiBuilder , RollkitEngineValidatorBuilder > ;
462+
456463impl < N > Node < N > for RollkitNode
457464where
458465 N : FullNodeTypes <
0 commit comments