@@ -61,11 +61,9 @@ use tracing::info;
6161static ALLOC : reth_cli_util:: allocator:: Allocator = reth_cli_util:: allocator:: new_allocator ( ) ;
6262
6363/// Rollkit-specific command line arguments
64- #[ derive( Debug , Clone , Parser , PartialEq , Eq , Serialize , Deserialize ) ]
65- #[ derive( Default ) ]
64+ #[ derive( Debug , Clone , Parser , PartialEq , Eq , Serialize , Deserialize , Default ) ]
6665pub struct RollkitArgs { }
6766
68-
6967/// Rollkit payload attributes that support passing transactions via Engine API
7068#[ derive( Clone , Debug , PartialEq , Eq , Serialize , Deserialize ) ]
7169pub struct RollkitEnginePayloadAttributes {
@@ -498,11 +496,7 @@ where
498496 rt. block_on ( rollkit_builder. build_payload ( rollkit_attrs) )
499497 } )
500498 . join ( )
501- . map_err ( |_| {
502- PayloadBuilderError :: other ( std:: io:: Error :: other (
503- "Thread join failed" ,
504- ) )
505- } ) ?
499+ . map_err ( |_| PayloadBuilderError :: other ( std:: io:: Error :: other ( "Thread join failed" ) ) ) ?
506500 . map_err ( PayloadBuilderError :: other) ?;
507501
508502 info ! (
@@ -564,11 +558,7 @@ where
564558 rt. block_on ( rollkit_builder. build_payload ( rollkit_attrs) )
565559 } )
566560 . join ( )
567- . map_err ( |_| {
568- PayloadBuilderError :: other ( std:: io:: Error :: other (
569- "Thread join failed" ,
570- ) )
571- } ) ?
561+ . map_err ( |_| PayloadBuilderError :: other ( std:: io:: Error :: other ( "Thread join failed" ) ) ) ?
572562 . map_err ( PayloadBuilderError :: other) ?;
573563
574564 let gas_used = sealed_block. gas_used ;
0 commit comments