prysmaticlabs / prysm

Go implementation of Ethereum proof of stake
https://www.offchainlabs.com
GNU General Public License v3.0
3.46k stars 998 forks source link

Implement Per Epoch Processing in Spec #1074

Closed terencechain closed 5 years ago

terencechain commented 5 years ago

Hi all,

This is a tracking issue to implement the block operations as defined in the current spec here.

This can be split into separate PRs implementing each section including:

prestonvanloon commented 5 years ago

According to spec, this consists of:

Helpers
Receipt roots
Justification
Finalization
Crosslinks
Justification and finalization rewards and penalties
Crosslink rewards and penalties
Validator registry
Proposer reshuffling
Final updates

https://github.com/ethereum/eth2.0-specs/blob/e2714b3344af95fe3c6fe42da6aac61c02172ee4/specs/core/0_beacon-chain.md#per-epoch-processing

Are you missing some per-epoch updates? Specifically crosslinks, which I am working on, but depends on some of the things you have highlighted already.

In which order do you plan to work on these so we can possibly work together?

terencechain commented 5 years ago

I'm working on Helpers(ETA: Thurs), Justification(ETA: Saturday) and Finalization(ETA: Monday).

I don't want to block your progress if you see a better order, feel free to let me know

prestonvanloon commented 5 years ago

Looks good to me, I'll wait for your work on the helpers to be completed. I'm not totally blocked, i have other work I can do in the meantime.

Thanks!

rauljordan commented 5 years ago

Can we close this @terenc3t?