Skip to content

EIP-7002: Execution layer triggerable exits#3349

Merged
djrtwo merged 14 commits intodevfrom
eip7002
Jul 7, 2023
Merged

EIP-7002: Execution layer triggerable exits#3349
djrtwo merged 14 commits intodevfrom
eip7002

Conversation

@hwwhww
Copy link
Contributor

@hwwhww hwwhww commented May 9, 2023

CL side of ethereum/EIPs#7002

TODO

  • Add test case of mix BLSToExecutionChange and ExecutionLayerExit of the same validator in one block.

Copy link
Contributor

@djrtwo djrtwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

```python
def process_execution_layer_exit(state: BeaconState, execution_layer_exit: ExecutionLayerExit) -> None:
validator_pubkeys = [v.pubkey for v in state.validators]
validator_index = ValidatorIndex(validator_pubkeys.index(execution_layer_exit.validator_pubkey))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, this style lookup is done in process_deposit so is definitely machinery clients have the ability to do efficient lookups on

@djrtwo djrtwo closed this Jun 1, 2023
@djrtwo djrtwo reopened this Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants