Skip to content

Commit 3c5f8ed

Browse files
authored
test fixture: small touchup (leanEthereum#463)
1 parent 2bde68e commit 3c5f8ed

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/testing/src/consensus_testing/test_fixtures/fork_choice.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,6 @@ def _build_block_from_spec(
418418
aggregation_store, _ = working_store.aggregate()
419419
merged_store = aggregation_store.accept_new_attestations()
420420

421-
available_attestations = attestations
422-
423421
# Build the block using spec logic.
424422
#
425423
# State handles the core block construction.
@@ -429,8 +427,8 @@ def _build_block_from_spec(
429427
slot=spec.slot,
430428
proposer_index=proposer_index,
431429
parent_root=parent_root,
432-
attestations=available_attestations,
433-
available_attestations=available_attestations,
430+
attestations=attestations,
431+
available_attestations=attestations,
434432
aggregated_payloads=merged_store.latest_known_aggregated_payloads,
435433
)
436434

0 commit comments

Comments
 (0)