Add `test_fork_pre_activation` test case
This commit is contained in:
parent
01a2c7ba07
commit
8b264704aa
|
@ -82,6 +82,18 @@ def test_fork_random_large_validator_set(spec, phases, state):
|
||||||
yield from run_fork_test(phases[ELECTRA], state)
|
yield from run_fork_test(phases[ELECTRA], state)
|
||||||
|
|
||||||
|
|
||||||
|
@with_phases(phases=[DENEB], other_phases=[ELECTRA])
|
||||||
|
@spec_test
|
||||||
|
@with_state
|
||||||
|
@with_meta_tags(ELECTRA_FORK_TEST_META_TAGS)
|
||||||
|
def test_fork_pre_activation(spec, phases, state):
|
||||||
|
post_spec = phases[ELECTRA]
|
||||||
|
state.validators[0].activation_epoch = spec.FAR_FUTURE_EPOCH
|
||||||
|
post_state = yield from run_fork_test(post_spec, state)
|
||||||
|
|
||||||
|
assert len(post_state.pending_balance_deposits) > 0
|
||||||
|
|
||||||
|
|
||||||
@with_phases(phases=[DENEB], other_phases=[ELECTRA])
|
@with_phases(phases=[DENEB], other_phases=[ELECTRA])
|
||||||
@spec_test
|
@spec_test
|
||||||
@with_state
|
@with_state
|
||||||
|
|
Loading…
Reference in New Issue