From 11840ce51ff69614d19747e546e8c1fa351a1a37 Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Fri, 24 Sep 2021 16:31:09 +0600 Subject: [PATCH] Map EE calls on the PoS events defined in EIP-3675 --- specs/merge/beacon-chain.md | 2 ++ specs/merge/fork-choice.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/specs/merge/beacon-chain.md b/specs/merge/beacon-chain.md index 1be41a81e..053c829f1 100644 --- a/specs/merge/beacon-chain.md +++ b/specs/merge/beacon-chain.md @@ -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. diff --git a/specs/merge/fork-choice.md b/specs/merge/fork-choice.md index 7b8643e99..4cf413b10 100644 --- a/specs/merge/fork-choice.md +++ b/specs/merge/fork-choice.md @@ -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`