@@ -946,10 +946,10 @@ async fn queue_attestations_from_http() {
946946#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
947947async fn proposer_duties_with_gossip_tolerance ( ) {
948948 let validator_count = 24 ;
949- let spec = ForkName :: Fulu . make_genesis_spec ( E :: default_spec ( ) ) ;
950949
951- let tester = InteractiveTester :: < E > :: new ( Some ( spec . clone ( ) ) , validator_count) . await ;
950+ let tester = InteractiveTester :: < E > :: new ( None , validator_count) . await ;
952951 let harness = & tester. harness ;
952+ let spec = & harness. spec ;
953953 let client = & tester. client ;
954954
955955 let num_initial = 4 * E :: slots_per_epoch ( ) - 1 ;
@@ -991,7 +991,7 @@ async fn proposer_duties_with_gossip_tolerance() {
991991 // To trigger it, we need to prime the proposer shuffling cache with an incorrect entry which
992992 // the previous code would be liable to lookup due to the bugs in its decision root calculation.
993993 let wrong_decision_root = head_state
994- . proposer_shuffling_decision_root ( head_block_root, & spec)
994+ . proposer_shuffling_decision_root ( head_block_root, spec)
995995 . unwrap ( ) ;
996996 let wrong_proposer_indices = vec ! [ 0 ; E :: slots_per_epoch( ) as usize ] ;
997997 harness
@@ -1015,7 +1015,11 @@ async fn proposer_duties_with_gossip_tolerance() {
10151015 assert_eq ! (
10161016 proposer_duties_tolerant_current_epoch. dependent_root,
10171017 head_state
1018- . proposer_shuffling_decision_root_at_epoch( tolerant_current_epoch, Hash256 :: ZERO , & spec)
1018+ . proposer_shuffling_decision_root_at_epoch(
1019+ tolerant_current_epoch,
1020+ head_block_root,
1021+ spec
1022+ )
10191023 . unwrap( )
10201024 ) ;
10211025 assert_ne ! (
0 commit comments