From 1694cdbd0293b3187bc8c978830539527c642a4c Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Tue, 20 Apr 2021 13:40:25 -0600 Subject: [PATCH] add always_bls for historical batch sanity test --- tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks.py b/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks.py index 9b184b018a..15f64ac79d 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks.py +++ b/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks.py @@ -930,8 +930,11 @@ def test_balance_driven_status_transitions(spec, state): assert state.validators[validator_index].exit_epoch < spec.FAR_FUTURE_EPOCH +# Requires always_bls because historical root period and sync committee period is same length +# so this epoch transition also computes new sync committees which requires aggregation @with_all_phases @spec_state_test +@always_bls def test_historical_batch(spec, state): state.slot += spec.SLOTS_PER_HISTORICAL_ROOT - (state.slot % spec.SLOTS_PER_HISTORICAL_ROOT) - 1 pre_historical_roots_len = len(state.historical_roots)