11use crate :: { supervisor:: SupervisorClient , InvalidCrossTx , OpPooledTx } ;
22use alloy_consensus:: { BlockHeader , Transaction } ;
3+ use gravity_storage:: block_view_storage:: BlockViewProvider ;
34use op_revm:: L1BlockInfo ;
45use parking_lot:: RwLock ;
56use reth_chainspec:: ChainSpecProvider ;
@@ -8,7 +9,7 @@ use reth_optimism_forks::OpHardforks;
89use reth_primitives_traits:: {
910 transaction:: error:: InvalidTransactionError , Block , BlockBody , GotExpected , SealedBlock ,
1011} ;
11- use reth_storage_api:: { AccountInfoReader , BlockReaderIdExt , StateProviderFactory } ;
12+ use reth_storage_api:: { BlockReaderIdExt , StateProviderFactory } ;
1213use reth_transaction_pool:: {
1314 error:: InvalidPoolTransactionError , EthPoolTransaction , EthTransactionValidator ,
1415 TransactionOrigin , TransactionValidationOutcome , TransactionValidator ,
@@ -181,7 +182,7 @@ where
181182 & self ,
182183 origin : TransactionOrigin ,
183184 transaction : Tx ,
184- state : & mut Option < Box < dyn AccountInfoReader > > ,
185+ state : & mut Option < BlockViewProvider > ,
185186 ) -> TransactionValidationOutcome < Tx > {
186187 if transaction. is_eip4844 ( ) {
187188 return TransactionValidationOutcome :: Invalid (
0 commit comments