File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -611,15 +611,17 @@ impl RollupBoostServer {
611
611
return match l2_fut. await {
612
612
Ok ( payload) => {
613
613
self . probes . set_health ( Health :: Healthy ) ;
614
- tracing:: Span :: current ( ) . record ( "payload_source" , "L2" ) ;
615
- counter ! ( "rpc.blocks_created" , "source" => "L2" ) . increment ( 1 ) ;
614
+ tracing:: Span :: current ( )
615
+ . record ( "payload_source" , PayloadSource :: L2 . to_string ( ) ) ;
616
+ counter ! ( "rpc.blocks_created" , "source" => PayloadSource :: L2 . to_string( ) )
617
+ . increment ( 1 ) ;
616
618
617
619
let execution_payload = ExecutionPayload :: from ( payload. clone ( ) ) ;
618
620
info ! (
619
621
message = "returning block" ,
620
622
"hash" = %execution_payload. block_hash( ) ,
621
623
"number" = %execution_payload. block_number( ) ,
622
- context = "L2" ,
624
+ context = PayloadSource :: L2 . to_string ( ) ,
623
625
%payload_id,
624
626
) ;
625
627
You can’t perform that action at this time.
0 commit comments