Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP-7002: Execution layer triggerable exits #3349

Merged
merged 14 commits into from
Jul 7, 2023
Merged

EIP-7002: Execution layer triggerable exits #3349

merged 14 commits into from
Jul 7, 2023

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!

specs/_features/eip7002/beacon-chain.md Outdated Show resolved Hide resolved
specs/_features/eip7002/beacon-chain.md Show resolved Hide resolved
```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

specs/_features/eip7002/beacon-chain.md Outdated Show resolved Hide resolved
specs/_features/eip7002/fork.md Outdated Show resolved Hide resolved
@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
general:enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants