From f2e3cd01aad760384d8bda02485cb204a9187ac6 Mon Sep 17 00:00:00 2001 From: Diederik Loerakker Date: Fri, 24 May 2019 08:34:14 -0400 Subject: [PATCH] Update test_libs/pyspec/eth2spec/test/epoch_processing/test_process_crosslinks.py Co-Authored-By: Danny Ryan --- .../eth2spec/test/epoch_processing/test_process_crosslinks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_libs/pyspec/eth2spec/test/epoch_processing/test_process_crosslinks.py b/test_libs/pyspec/eth2spec/test/epoch_processing/test_process_crosslinks.py index 58c7b669f..a0cc10251 100644 --- a/test_libs/pyspec/eth2spec/test/epoch_processing/test_process_crosslinks.py +++ b/test_libs/pyspec/eth2spec/test/epoch_processing/test_process_crosslinks.py @@ -104,7 +104,7 @@ def test_single_crosslink_update_from_previous_epoch(state): @spec_state_test def test_double_late_crosslink(state): - if spec.SLOTS_PER_EPOCH < spec.SHARD_COUNT: + if get_epoch_committee_count(state, get_current_epoch(state)) < spec.SHARD_COUNT: print("warning: ignoring test, test-assumptions are incompatible with configuration") return