@@ -461,7 +461,7 @@ async fn test_slow_lane_threshold_matrix_locally() -> Result<(), anyhow::Error>
461461 let setup = setup_with_block_time ( None , 3.0 ) . await ?;
462462 let mut db = Database :: new (
463463 & setup. args . database_url ,
464- & setup. args . coprocessor_api_key . unwrap ( ) ,
464+ setup. chain_id ,
465465 setup. args . dependence_cache_size ,
466466 )
467467 . await ?;
@@ -586,7 +586,7 @@ async fn test_slow_lane_cross_block_sustained_below_cap_stays_fast_locally(
586586 let setup = setup_with_block_time ( None , 3.0 ) . await ?;
587587 let mut db = Database :: new (
588588 & setup. args . database_url ,
589- & setup. args . coprocessor_api_key . unwrap ( ) ,
589+ setup. chain_id ,
590590 setup. args . dependence_cache_size ,
591591 )
592592 . await ?;
@@ -661,7 +661,7 @@ async fn test_slow_lane_cross_block_parent_lookup_finds_known_slow_parent_locall
661661 let setup = setup_with_block_time ( None , 3.0 ) . await ?;
662662 let db = Database :: new (
663663 & setup. args . database_url ,
664- & setup. args . coprocessor_api_key . unwrap ( ) ,
664+ setup. chain_id ,
665665 setup. args . dependence_cache_size ,
666666 )
667667 . await ?;
@@ -713,7 +713,7 @@ async fn test_slow_lane_priority_is_monotonic_across_blocks_locally(
713713 let setup = setup_with_block_time ( None , 3.0 ) . await ?;
714714 let mut db = Database :: new (
715715 & setup. args . database_url ,
716- & setup. args . coprocessor_api_key . unwrap ( ) ,
716+ setup. chain_id ,
717717 setup. args . dependence_cache_size ,
718718 )
719719 . await ?;
@@ -769,7 +769,7 @@ async fn test_slow_lane_off_mode_promotes_all_chains_on_startup_locally(
769769 let setup = setup_with_block_time ( None , 3.0 ) . await ?;
770770 let mut db = Database :: new (
771771 & setup. args . database_url ,
772- & setup. args . coprocessor_api_key . unwrap ( ) ,
772+ setup. chain_id ,
773773 setup. args . dependence_cache_size ,
774774 )
775775 . await ?;
@@ -810,7 +810,7 @@ async fn test_slow_lane_contention_prefers_fast_chain(
810810 let setup = setup_with_block_time ( None , 3.0 ) . await ?;
811811 let mut db = Database :: new (
812812 & setup. args . database_url ,
813- & setup. args . coprocessor_api_key . unwrap ( ) ,
813+ setup. chain_id ,
814814 setup. args . dependence_cache_size ,
815815 )
816816 . await ?;
0 commit comments