File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
beacon_node/beacon_chain/tests Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -337,9 +337,10 @@ impl GossipTester {
337337 let fork_name = harness
338338 . chain
339339 . spec
340- . fork_name_at_slot :: < E > ( valid_attestation. data ( ) . slot ) ;
340+ . fork_name_at_slot :: < E > ( valid_attestation. data . slot ) ;
341341 let valid_aggregate_attestation =
342- single_attestation_to_attestation ( & valid_attestation, committee. committee ) . unwrap ( ) ;
342+ single_attestation_to_attestation ( & valid_attestation, committee. committee , fork_name)
343+ . unwrap ( ) ;
343344
344345 let ( valid_aggregate, aggregator_validator_index, aggregator_sk) =
345346 get_valid_aggregated_attestation ( & harness. chain , valid_aggregate_attestation. clone ( ) ) ;
@@ -1406,9 +1407,10 @@ async fn verify_aggregate_for_gossip_doppelganger_detection() {
14061407 let fork_name = harness
14071408 . chain
14081409 . spec
1409- . fork_name_at_slot :: < E > ( valid_attestation. data ( ) . slot ) ;
1410+ . fork_name_at_slot :: < E > ( valid_attestation. data . slot ) ;
14101411 let valid_attestation =
1411- single_attestation_to_attestation ( & valid_attestation, committee. committee ) . unwrap ( ) ;
1412+ single_attestation_to_attestation ( & valid_attestation, committee. committee , fork_name)
1413+ . unwrap ( ) ;
14121414 let ( valid_aggregate, _, _) =
14131415 get_valid_aggregated_attestation ( & harness. chain , valid_attestation) ;
14141416
You can’t perform that action at this time.
0 commit comments