From 3fd49744304f193436694bd3df2a7adeb7d75c5c Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Thu, 8 Apr 2021 17:44:10 -0700 Subject: [PATCH] iterate over the correct number of subcommittees --- .../eth2spec/test/altair/unittests/validator/test_validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/altair/unittests/validator/test_validator.py b/tests/core/pyspec/eth2spec/test/altair/unittests/validator/test_validator.py index 673184b18..016234541 100644 --- a/tests/core/pyspec/eth2spec/test/altair/unittests/validator/test_validator.py +++ b/tests/core/pyspec/eth2spec/test/altair/unittests/validator/test_validator.py @@ -114,7 +114,7 @@ def test_process_sync_committee_contributions(phases, spec, state): spec, state, previous_slot, target_block_root, i, aggregation_index ), ) - for i in range(spec.SYNC_COMMITTEE_SIZE // spec.SYNC_COMMITTEE_SUBNET_COUNT) + for i in range(spec.SYNC_COMMITTEE_SUBNET_COUNT) ] # ensure the block has an empty sync aggregate...