mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 23:25:22 -05:00
Better wording for consensus_validated
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
@@ -267,7 +267,7 @@ def consensus_validated(self: ExecutionEngine, block_hash: Hash32, valid: bool)
|
||||
...
|
||||
```
|
||||
|
||||
The call of this function depends on the result of the state transition and must be done when call to the [`state_transition`](../phase0/beacon-chain.md#beacon-chain-state-transition-function) function finishes. The value of the `valid` parameter must be set as follows:
|
||||
The inputs to this function depend on the result of the state transition. A call to `consensus_validated` must be made after the [`state_transition`](../phase0/beacon-chain.md#beacon-chain-state-transition-function) function finishes. The value of the `valid` parameter must be set as follows:
|
||||
|
||||
* `True` if `state_transition` function call succeeds
|
||||
* `False` if `state_transition` function call fails
|
||||
|
||||
Reference in New Issue
Block a user