mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-24 01:20:56 +00:00
Update tests/core/pyspec/eth2spec/test/altair/transition/test_transition.py
This commit is contained in:
parent
d04ecf16b1
commit
b9ad8bca00
@ -371,7 +371,7 @@ def test_transition_with_random_half_participation(state, fork_epoch, spec, post
|
||||
rng = random.Random(2020)
|
||||
|
||||
def _drop_random_half(_slot, _index, indices):
|
||||
# still finalize, but drop some attestations
|
||||
# drop enough attestations to not finalize
|
||||
committee_len = len(indices)
|
||||
assert committee_len >= 2
|
||||
filter_len = committee_len // 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user