@@ -165,7 +165,7 @@ mod tests {
165165 } ;
166166 use commonware_cryptography:: {
167167 bls12381:: primitives:: variant:: MinSig ,
168- certificate:: { mocks:: Fixture , ConstantProvider , Scheme as _ } ,
168+ certificate:: { mocks:: Fixture , ConstantProvider } ,
169169 } ;
170170 use commonware_parallel:: Sequential ;
171171 use commonware_resolver:: Resolver ;
@@ -246,12 +246,11 @@ mod tests {
246246 async fn retain ( & mut self , _: impl Fn ( & Self :: Key ) -> bool + Send + ' static ) { }
247247 }
248248
249- fn test_archive_config < C > (
249+ fn test_archive_config (
250250 prefix : & str ,
251251 label : & str ,
252252 page_cache : CacheRef ,
253- codec_config : C ,
254- ) -> immutable:: Config < C > {
253+ ) -> immutable:: Config < ( ) > {
255254 immutable:: Config {
256255 metadata_partition : format ! ( "{prefix}-{label}-metadata" ) ,
257256 freezer_table_partition : format ! ( "{prefix}-{label}-freezer-table" ) ,
@@ -265,7 +264,7 @@ mod tests {
265264 freezer_value_compression : None ,
266265 ordinal_partition : format ! ( "{prefix}-{label}-ordinal" ) ,
267266 items_per_section : NZU64 ! ( 10 ) ,
268- codec_config,
267+ codec_config : ( ) ,
269268 replay_buffer : NZUsize ! ( 1024 ) ,
270269 freezer_key_write_buffer : NZUsize ! ( 1024 ) ,
271270 freezer_value_write_buffer : NZUsize ! ( 1024 ) ,
@@ -289,18 +288,13 @@ mod tests {
289288
290289 let finalizations_by_height = immutable:: Archive :: init (
291290 context. with_label ( "finalizations_by_height" ) ,
292- test_archive_config (
293- partition_prefix,
294- "finalizations-by-height" ,
295- page_cache. clone ( ) ,
296- Scheme :: certificate_codec_config_unbounded ( ) ,
297- ) ,
291+ test_archive_config ( partition_prefix, "finalizations-by-height" , page_cache. clone ( ) ) ,
298292 )
299293 . await
300294 . expect ( "failed to initialize finalizations archive" ) ;
301295 let finalized_blocks = immutable:: Archive :: init (
302296 context. with_label ( "finalized_blocks" ) ,
303- test_archive_config ( partition_prefix, "finalized-blocks" , page_cache. clone ( ) , ( ) ) ,
297+ test_archive_config ( partition_prefix, "finalized-blocks" , page_cache. clone ( ) ) ,
304298 )
305299 . await
306300 . expect ( "failed to initialize finalized blocks archive" ) ;
0 commit comments