File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ pub fn initialize_tracing_log(
165165 let ( writer, guard) = tracing_appender:: non_blocking ( std:: io:: stdout ( ) ) ;
166166 stdout_guard = Some ( guard) ;
167167
168- let filter = format_crates_filter ( Level :: INFO . as_str ( ) , & config. level . as_str ( ) ) ;
168+ let filter = format_crates_filter ( Level :: INFO . as_str ( ) , config. level . as_str ( ) ) ;
169169 let format = format. clone ( ) . with_ansi ( config. color ) ;
170170 if config. use_json {
171171 let layer = Layer :: default ( )
@@ -205,7 +205,7 @@ pub fn initialize_tracing_log(
205205 let ( writer, guard) = tracing_appender:: non_blocking ( file_appender) ;
206206 file_guard = Some ( guard) ;
207207
208- let filter = format_crates_filter ( Level :: INFO . as_str ( ) , & config. level . as_str ( ) ) ;
208+ let filter = format_crates_filter ( Level :: INFO . as_str ( ) , config. level . as_str ( ) ) ;
209209 let format = format. clone ( ) . with_ansi ( false ) ;
210210 if config. use_json {
211211 let layer = Layer :: default ( )
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ pub async fn handle_get_header<S: BuilderApiState, A: BuilderApi<S>>(
2424 req_headers : HeaderMap ,
2525 Path ( params) : Path < GetHeaderParams > ,
2626) -> Result < impl IntoResponse , PbsClientError > {
27- tracing:: Span :: current ( ) . record ( "slot" , & params. slot ) ;
28- tracing:: Span :: current ( ) . record ( "parent_hash" , & tracing:: field:: debug ( params. parent_hash ) ) ;
29- tracing:: Span :: current ( ) . record ( "validator" , & tracing:: field:: debug ( params. pubkey ) ) ;
27+ tracing:: Span :: current ( ) . record ( "slot" , params. slot ) ;
28+ tracing:: Span :: current ( ) . record ( "parent_hash" , tracing:: field:: debug ( params. parent_hash ) ) ;
29+ tracing:: Span :: current ( ) . record ( "validator" , tracing:: field:: debug ( params. pubkey ) ) ;
3030
3131 let state = state. read ( ) . clone ( ) ;
3232
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ pub async fn handle_submit_block<S: BuilderApiState, A: BuilderApi<S>>(
1919 req_headers : HeaderMap ,
2020 Json ( signed_blinded_block) : Json < SignedBlindedBeaconBlock > ,
2121) -> Result < impl IntoResponse , PbsClientError > {
22- tracing:: Span :: current ( ) . record ( "slot" , & signed_blinded_block. slot ( ) ) ;
22+ tracing:: Span :: current ( ) . record ( "slot" , signed_blinded_block. slot ( ) ) ;
2323 tracing:: Span :: current ( )
24- . record ( "block_hash" , & tracing:: field:: debug ( signed_blinded_block. block_hash ( ) ) ) ;
25- tracing:: Span :: current ( ) . record ( "block_number" , & signed_blinded_block. block_number ( ) ) ;
24+ . record ( "block_hash" , tracing:: field:: debug ( signed_blinded_block. block_hash ( ) ) ) ;
25+ tracing:: Span :: current ( ) . record ( "block_number" , signed_blinded_block. block_number ( ) ) ;
2626 tracing:: Span :: current ( )
27- . record ( "parent_hash" , & tracing:: field:: debug ( signed_blinded_block. parent_hash ( ) ) ) ;
27+ . record ( "parent_hash" , tracing:: field:: debug ( signed_blinded_block. parent_hash ( ) ) ) ;
2828
2929 let state = state. read ( ) . clone ( ) ;
3030
You can’t perform that action at this time.
0 commit comments