From 1db1c5432365cd3b480b535d960b3c1c973c970f Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Tue, 9 Apr 2024 10:33:48 +0800 Subject: [PATCH] add comment --- specs/_features/eip7002/beacon-chain.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specs/_features/eip7002/beacon-chain.md b/specs/_features/eip7002/beacon-chain.md index 58af0d540..712111920 100644 --- a/specs/_features/eip7002/beacon-chain.md +++ b/specs/_features/eip7002/beacon-chain.md @@ -222,6 +222,7 @@ def process_operations(state: BeaconState, body: BeaconBlockBody) -> None: ```python def process_execution_layer_exit(state: BeaconState, execution_layer_exit: ExecutionLayerExit) -> None: validator_pubkeys = [v.pubkey for v in state.validators] + # Verify pubkey exists pubkey_to_exit = execution_layer_exit.validator_pubkey if pubkey_to_exit not in validator_pubkeys: return