ralexstokes / ethereum-consensus

Apache License 2.0
136 stars 51 forks source link

Deposit refactoring in `phase0` #375

Closed ralexstokes closed 4 months ago

ralexstokes commented 5 months ago

There are some additional helpers added in the consensus-specs for deposit handling (like apply_deposit).

Would be nice to sync this repo w/ those updates

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#deposits

Some missing functions we could add:

add_validator_to_registry apply_deposit