-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Description
Describe the feature
It should be possible to reuse most of the code from our rust implementation at https://github.com/ReamLabs/rust-3sf. Take note that some parts like Rc and RefCell might not be needed as they were workaround for simulating networking under a single process.
- Implement block proposal & voting: https://github.com/ethereum/research/blob/master/3sf-mini/p2p.py
- Implement block processing & fork choice: https://github.com/ethereum/research/blob/master/3sf-mini/consensus.py
TODOs
- Move https://github.com/ReamLabs/rust-3sf into ream repo as-is
- Convert
Vecto SSZ-compatibleVariableList - Convert
HashMapattributes to something SSZ-compatible - Remove
Stakers::num_validatorsand refer to a fixed validator list in the state instead - Get rid of
Option<Hash>inBlock::parentandBlock::state_root - Add proper error handling
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done