5252 if let Some ( ( sink, activation) ) = config. base_fee_redirect_settings ( ) {
5353 info ! (
5454 target: "ev-reth" ,
55- fee_sink = ? sink,
55+ fee_sink = % sink,
5656 activation_height = activation,
5757 "Base fee redirect enabled via chainspec"
5858 ) ;
6969 #[ instrument( skip( self , attributes) , fields(
7070 parent_hash = %attributes. parent_hash,
7171 tx_count = attributes. transactions. len( ) ,
72- gas_limit = ? attributes. gas_limit,
72+ gas_limit = attributes. gas_limit. unwrap_or ( 0 ) ,
7373 duration_ms = tracing:: field:: Empty ,
7474 ) ) ]
7575 pub async fn build_payload (
@@ -118,7 +118,7 @@ where
118118 suggested_fee_recipient = sink;
119119 info ! (
120120 target: "ev-reth" ,
121- fee_sink = ? sink,
121+ fee_sink = % sink,
122122 block_number,
123123 "Suggested fee recipient missing; defaulting to base-fee sink"
124124 ) ;
@@ -173,7 +173,7 @@ where
173173 debug ! ( gas_used = ?gas_used, "transaction executed successfully" ) ;
174174 }
175175 Err ( err) => {
176- tracing:: warn!( error = ? err, tx_hash = %tx. tx_hash( ) , "transaction execution failed" ) ;
176+ tracing:: warn!( error = % err, tx_hash = %tx. tx_hash( ) , "transaction execution failed" ) ;
177177 }
178178 }
179179 }
@@ -192,7 +192,7 @@ where
192192
193193 info ! (
194194 block_number = sealed_block. number,
195- block_hash = ? sealed_block. hash( ) ,
195+ block_hash = % sealed_block. hash( ) ,
196196 tx_count = sealed_block. transaction_count( ) ,
197197 gas_used = sealed_block. gas_used,
198198 "built block"
@@ -221,13 +221,13 @@ where
221221 let config = match EvolvePayloadBuilderConfig :: from_chain_spec ( & chain_spec) {
222222 Ok ( config) => config,
223223 Err ( err) => {
224- tracing:: warn!( target: "ev-reth" , error = ? err, "Failed to parse chainspec extras" ) ;
224+ tracing:: warn!( target: "ev-reth" , error = % err, "Failed to parse chainspec extras" ) ;
225225 return None ;
226226 }
227227 } ;
228228
229229 if let Err ( err) = config. validate ( ) {
230- tracing:: warn!( target: "ev-reth" , error = ? err, "Invalid evolve payload builder configuration" ) ;
230+ tracing:: warn!( target: "ev-reth" , error = % err, "Invalid evolve payload builder configuration" ) ;
231231 return None ;
232232 }
233233
0 commit comments