mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 03:34:20 +00:00
code org
This commit is contained in:
parent
f76a29c1f9
commit
ce471b702e
@ -160,6 +160,8 @@ def _transition_to_leaking():
|
||||
}
|
||||
|
||||
|
||||
_transition_without_leak = _with_validation(_no_op_transition, _validate_is_not_leaking)
|
||||
|
||||
## block transitions
|
||||
|
||||
def _transition_with_random_block(epochs=None, slots=None):
|
||||
@ -300,7 +302,6 @@ def _generate_randomized_scenarios():
|
||||
|
||||
# and preface each block transition with the possible leak transitions
|
||||
# (... either no leak or transition to a leak before applying the block transition)
|
||||
_transition_without_leak = _with_validation(_no_op_transition, _validate_is_not_leaking)
|
||||
leak_transitions = (
|
||||
_transition_without_leak,
|
||||
_transition_to_leaking,
|
||||
|
Loading…
x
Reference in New Issue
Block a user