def test_late_success(spec, state): attestation = get_valid_late_attestation(spec, state, signed=True) transition_to(spec, state, state.slot + spec.MIN_ATTESTATION_INCLUSION_DELAY + 1) yield from run_attestation_processing(spec, state, attestation)
def test_on_time_empty_custody_bits_blocks(spec, state): attestation = get_valid_late_attestation(spec, state, signed=True) assert not any(attestation.custody_bits_blocks) transition_to(spec, state, state.slot + spec.MIN_ATTESTATION_INCLUSION_DELAY) yield from run_attestation_processing(spec, state, attestation, False)