Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Implement process_exit_queue #385

Merged
merged 5 commits into from
Mar 9, 2019
Merged

Conversation

hwwhww
Copy link
Contributor

@hwwhww hwwhww commented Mar 8, 2019

What was wrong?

Fix #323

How was it fixed?

Spec Ref: https://github.com/ethereum/eth2.0-specs/blob/8dcc1ba930332980a88a1745539cea61e5c07d87/specs/core/0_beacon-chain.md#slashings-and-exit-queue

Add process_exit_queue in eth2/beacon/state_machines/forks/serenity/epoch_processing.py

Cute Animal Picture

crab-2113971_640

@hwwhww hwwhww added the eth2.0 label Mar 8, 2019
@hwwhww hwwhww requested a review from ralexstokes March 8, 2019 14:18
Copy link
Member

@ralexstokes ralexstokes left a comment

Choose a reason for hiding this comment

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

looks great!

(4, 8, 4, False),
# current_epoch < validator.exit_epoch + MIN_VALIDATOR_WITHDRAWABILITY_DELAY
(4, FAR_FUTURE_EPOCH, 5, False),
]
Copy link
Member

Choose a reason for hiding this comment

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

like the test coverage here 👍

@hwwhww hwwhww merged commit 9071ada into ethereum:master Mar 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement beacon chain state transition process_exit_queue
2 participants