@@ -4,6 +4,7 @@ use alloy_provider::Provider;
44use base_reth_test_utils:: {
55 flashblocks_harness:: FlashblocksHarness ,
66 node:: { BASE_CHAIN_ID , LocalFlashblocksState , LocalNodeProvider } ,
7+ tracing:: init_silenced_tracing,
78} ;
89use eyre:: { Result , eyre} ;
910use op_alloy_consensus:: OpTxEnvelope ;
@@ -67,7 +68,7 @@ fn create_bundle(txs: Vec<Bytes>, block_number: u64, min_timestamp: Option<u64>)
6768
6869#[ tokio:: test]
6970async fn test_meter_bundle_empty ( ) -> Result < ( ) > {
70- reth_tracing :: init_test_tracing ( ) ;
71+ init_silenced_tracing ( ) ;
7172 let ctx = RpcTestContext :: new ( ) . await ?;
7273
7374 let bundle = create_bundle ( vec ! [ ] , 0 , None ) ;
@@ -85,7 +86,7 @@ async fn test_meter_bundle_empty() -> Result<()> {
8586
8687#[ tokio:: test]
8788async fn test_meter_bundle_single_transaction ( ) -> Result < ( ) > {
88- reth_tracing :: init_test_tracing ( ) ;
89+ init_silenced_tracing ( ) ;
8990 let ctx = RpcTestContext :: new ( ) . await ?;
9091
9192 let sender_account = & ctx. accounts ( ) . alice ;
@@ -126,7 +127,7 @@ async fn test_meter_bundle_single_transaction() -> Result<()> {
126127
127128#[ tokio:: test]
128129async fn test_meter_bundle_multiple_transactions ( ) -> Result < ( ) > {
129- reth_tracing :: init_test_tracing ( ) ;
130+ init_silenced_tracing ( ) ;
130131 let ctx = RpcTestContext :: new ( ) . await ?;
131132
132133 let secret1 = secret_from_hex ( ctx. accounts ( ) . alice . private_key ) ;
@@ -181,7 +182,7 @@ async fn test_meter_bundle_multiple_transactions() -> Result<()> {
181182
182183#[ tokio:: test]
183184async fn test_meter_bundle_invalid_transaction ( ) -> Result < ( ) > {
184- reth_tracing :: init_test_tracing ( ) ;
185+ init_silenced_tracing ( ) ;
185186 let ctx = RpcTestContext :: new ( ) . await ?;
186187
187188 let bundle = create_bundle ( vec ! [ Bytes :: from_static( b"\xde \xad \xbe \xef " ) ] , 0 , None ) ;
@@ -193,7 +194,7 @@ async fn test_meter_bundle_invalid_transaction() -> Result<()> {
193194
194195#[ tokio:: test]
195196async fn test_meter_bundle_uses_latest_block ( ) -> Result < ( ) > {
196- reth_tracing :: init_test_tracing ( ) ;
197+ init_silenced_tracing ( ) ;
197198 let ctx = RpcTestContext :: new ( ) . await ?;
198199
199200 ctx. harness ( ) . advance_chain ( 2 ) . await ?;
@@ -209,7 +210,7 @@ async fn test_meter_bundle_uses_latest_block() -> Result<()> {
209210
210211#[ tokio:: test]
211212async fn test_meter_bundle_ignores_bundle_block_number ( ) -> Result < ( ) > {
212- reth_tracing :: init_test_tracing ( ) ;
213+ init_silenced_tracing ( ) ;
213214 let ctx = RpcTestContext :: new ( ) . await ?;
214215
215216 let bundle1 = create_bundle ( vec ! [ ] , 0 , None ) ;
@@ -227,7 +228,7 @@ async fn test_meter_bundle_ignores_bundle_block_number() -> Result<()> {
227228
228229#[ tokio:: test]
229230async fn test_meter_bundle_custom_timestamp ( ) -> Result < ( ) > {
230- reth_tracing :: init_test_tracing ( ) ;
231+ init_silenced_tracing ( ) ;
231232 let ctx = RpcTestContext :: new ( ) . await ?;
232233
233234 let custom_timestamp = 1_234_567_890 ;
@@ -242,7 +243,7 @@ async fn test_meter_bundle_custom_timestamp() -> Result<()> {
242243
243244#[ tokio:: test]
244245async fn test_meter_bundle_arbitrary_block_number ( ) -> Result < ( ) > {
245- reth_tracing :: init_test_tracing ( ) ;
246+ init_silenced_tracing ( ) ;
246247 let ctx = RpcTestContext :: new ( ) . await ?;
247248
248249 let bundle = create_bundle ( vec ! [ ] , 999_999 , None ) ;
@@ -256,7 +257,7 @@ async fn test_meter_bundle_arbitrary_block_number() -> Result<()> {
256257
257258#[ tokio:: test]
258259async fn test_meter_bundle_gas_calculations ( ) -> Result < ( ) > {
259- reth_tracing :: init_test_tracing ( ) ;
260+ init_silenced_tracing ( ) ;
260261 let ctx = RpcTestContext :: new ( ) . await ?;
261262
262263 let secret1 = secret_from_hex ( ctx. accounts ( ) . alice . private_key ) ;
0 commit comments