Skip to content

Commit

Permalink
Map EE calls on the PoS events defined in EIP-3675
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalinin committed Sep 24, 2021
1 parent 0e2eb50 commit 11840ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions specs/merge/beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ The inputs to this function depend on the result of the state transition. A call
* `True` if `state_transition` function call succeeds
* `False` if `state_transition` function call fails

*Note*: The call of the `notify_consensus_validated` function with `valid = True` maps on the `POS_CONSENSUS_VALIDATED` event defined in the [EIP-3675](https://eips.ethereum.org/EIPS/eip-3675#definitions).

### Block processing

*Note*: The call to the `process_execution_payload` must happen before the call to the `process_randao` as the former depends on the `randao_mix` computed with the reveal of the previous block.
Expand Down
2 changes: 2 additions & 0 deletions specs/merge/fork-choice.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def notify_forkchoice_updated(self: ExecutionEngine, head_block_hash: Hash32, fi
...
```

*Note*: The call of the `notify_forkchoice_updated` function maps on the `POS_FORKCHOICE_UPDATED` event defined in the [EIP-3675](https://eips.ethereum.org/EIPS/eip-3675#definitions).

## Helpers

### `PowBlock`
Expand Down

0 comments on commit 11840ce

Please sign in to comment.