Update tests/core/pyspec/eth2spec/test/altair/sanity/test_blocks.py
This commit is contained in:
parent
36d2dacdcf
commit
19001055e9
|
@ -102,7 +102,7 @@ def test_inactivity_scores_leaking(spec, state):
|
||||||
yield 'blocks', [signed_block]
|
yield 'blocks', [signed_block]
|
||||||
yield 'post', state
|
yield 'post', state
|
||||||
|
|
||||||
# No particiaption during a leak so all scores should increase
|
# No participation during a leak so all scores should increase
|
||||||
for pre, post in zip(previous_inactivity_scores, state.inactivity_scores):
|
for pre, post in zip(previous_inactivity_scores, state.inactivity_scores):
|
||||||
assert post == pre + spec.config.INACTIVITY_SCORE_BIAS
|
assert post == pre + spec.config.INACTIVITY_SCORE_BIAS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue