11use crate :: {
2- alloy:: primitives:: TxHash , prelude:: * , reth:: primitives:: Recovered ,
2+ alloy:: primitives:: TxHash ,
3+ prelude:: * ,
4+ reth:: primitives:: Recovered ,
35} ;
46
57/// Quality of Life extensions for the `Span` type.
@@ -107,13 +109,12 @@ impl<P: Platform> SpanExt<P> for Span<P> {
107109
108110#[ cfg( test) ]
109111mod span_ext_tests {
110- use crate :: {
111- payload:: { Span , SpanExt } ,
112- prelude:: { BlockContext , Checkpoint , Ethereum } ,
113- test_utils:: BlockContextMocked ,
114- } ;
115-
116112 use {
113+ crate :: {
114+ payload:: { Span , SpanExt } ,
115+ prelude:: { BlockContext , Checkpoint , Ethereum } ,
116+ test_utils:: BlockContextMocked ,
117+ } ,
117118 alloy:: {
118119 consensus:: { EthereumTxEnvelope , TxEip4844 } ,
119120 network:: { TransactionBuilder , TxSignerSync } ,
@@ -154,7 +155,7 @@ mod span_ext_tests {
154155
155156 #[ test]
156157 fn gas_and_blob_gas_used_sum_correctly ( ) {
157- let ( block, _ ) = BlockContext :: < Ethereum > :: mocked ( ) ;
158+ let block = BlockContext :: < Ethereum > :: mocked ( ) ;
158159
159160 let root = block. start ( ) ;
160161 let c1: Checkpoint < Ethereum > = root. barrier ( ) ;
@@ -168,7 +169,7 @@ mod span_ext_tests {
168169
169170 #[ test]
170171 fn contains_transaction_hash_works ( ) {
171- let ( block, _ ) = BlockContext :: < Ethereum > :: mocked ( ) ;
172+ let block = BlockContext :: < Ethereum > :: mocked ( ) ;
172173
173174 let root = block. start ( ) ;
174175 let c1: Checkpoint < Ethereum > = root. barrier ( ) ;
@@ -184,7 +185,7 @@ mod span_ext_tests {
184185
185186 #[ test]
186187 fn split_at_produces_valid_halves ( ) {
187- let ( block, _ ) = BlockContext :: < Ethereum > :: mocked ( ) ;
188+ let block = BlockContext :: < Ethereum > :: mocked ( ) ;
188189
189190 let root = block. start ( ) ;
190191 let c1: Checkpoint < Ethereum > = root. barrier ( ) ;
@@ -203,7 +204,7 @@ mod span_ext_tests {
203204
204205 #[ test]
205206 fn take_and_skip_are_consistent_with_split_at ( ) {
206- let ( block, _ ) = BlockContext :: < Ethereum > :: mocked ( ) ;
207+ let block = BlockContext :: < Ethereum > :: mocked ( ) ;
207208
208209 let root = block. start ( ) ;
209210 let c1: Checkpoint < Ethereum > = root. barrier ( ) ;
0 commit comments