File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ use crate::{
66 tasks:: env:: SimEnv ,
77} ;
88use alloy:: { eips:: BlockId , network:: Ethereum } ;
9- use init4_bin_base:: { deps:: metrics:: counter, utils:: calc:: SlotCalculator } ;
9+ use init4_bin_base:: {
10+ deps:: metrics:: { counter, histogram} ,
11+ utils:: calc:: SlotCalculator ,
12+ } ;
1013use signet_sim:: { BlockBuild , BuiltBlock , SimCache } ;
1114use signet_types:: constants:: SignetSystemConstants ;
1215use std:: time:: { Duration , Instant } ;
@@ -145,7 +148,8 @@ impl Simulator {
145148 block_number = built_block. block_number( ) ,
146149 "block simulation completed" ,
147150 ) ;
148- counter ! ( "signet.builder.simulated_blocks" ) . increment ( 1 ) ;
151+ counter ! ( "signet.builder.built_blocks" ) . increment ( 1 ) ;
152+ histogram ! ( "signet.builder.built_blocks.tx_count" ) . record ( built_block. tx_count ( ) as f64 ) ;
149153
150154 Ok ( built_block)
151155 }
Original file line number Diff line number Diff line change @@ -120,11 +120,7 @@ impl FlashbotsTask {
120120 break ;
121121 } ;
122122 let span = sim_result. span ( ) ;
123- span_debug ! (
124- span,
125- host_block_number = sim_result. host_block_number( ) ,
126- "received sim result"
127- ) ;
123+ span_debug ! ( span, "received sim result" ) ;
128124
129125 // Prepare a MEV bundle with the configured call type from the sim result
130126 let Ok ( bundle) =
You can’t perform that action at this time.
0 commit comments