@@ -20,7 +20,10 @@ use reth_provider::{
2020 BlockWriter , DatabaseProviderFactory , ExecutionOutcome , HeaderProvider , HistoryWriter ,
2121 OriginalValuesKnown , StateProofProvider , StateWriteConfig , StateWriter ,
2222 StaticFileProviderFactory , StaticFileSegment , StaticFileWriter ,
23- test_utils:: create_test_provider_factory_with_chain_spec,
23+ test_utils:: {
24+ create_test_provider_factory_with_chain_spec,
25+ create_test_provider_factory_with_chain_spec_and_db_args,
26+ } ,
2427} ;
2528use reth_revm:: { State , database:: StateProviderDatabase , witness:: ExecutionWitnessRecord } ;
2629use reth_trie:: { HashedPostState , KeccakKeyHasher , StateRoot } ;
@@ -253,7 +256,10 @@ where
253256{
254257 // Create a new test database and initialize a provider for the test case.
255258 let chain_spec = case. network . to_chain_spec ( ) ;
256- let factory = create_test_provider_factory_with_chain_spec ( chain_spec. clone ( ) ) ;
259+ let factory = create_test_provider_factory_with_chain_spec_and_db_args (
260+ chain_spec. clone ( ) ,
261+ reth_db:: mdbx:: DatabaseArguments :: test ( ) . with_geometry_max_size ( Some ( 1024 * 1024 * 1024 ) ) ,
262+ ) ;
257263 let provider = factory. database_provider_rw ( ) . unwrap ( ) ;
258264
259265 // Insert initial test state into the provider.
0 commit comments