Update beacon crate to spec v0.6.1 (#128)
* [WIP] Update all config and struct definitions * [WIP] Utils function spec update I * [WIP] Utils functions spec update II * [WIP] Re-init beacon Cherry-pick back old code rather than modifying it is easier to do -- as there are many changes. * [WIP] Cherry-pick back all types * [WIP] Cherry pick back all helpers * [WIP] Cherry-pick back validator status helpers * [WIP] Migrate back per epoch helpers * [WIP] Cherry-pick justification and finalization * [WIP] Redo crosslink and rewards * [WIP] Cherry-pick back all per epoch operations * [WIP] * [WIP] Port back all operations * Add state root verification * [WIP] Fix warnings * Finish fixing all warnings * Add function to execute block * Add back small config * Add new test repo * Update yamltests for the new format and pass those tests * Check block state root in execute_block * Add full tests * Update tests * Add back block builder * Fix other crate compile * Make beacon crate work again in no_std
Showing
- .gitmodules 0 additions, 3 deletions.gitmodules
- Cargo.lock 2 additions, 3 deletionsCargo.lock
- beacon/Cargo.toml 2 additions, 3 deletionsbeacon/Cargo.toml
- beacon/src/config.rs 344 additions, 312 deletionsbeacon/src/config.rs
- beacon/src/error.rs 24 additions, 0 deletionsbeacon/src/error.rs
- beacon/src/eth1.rs 0 additions, 168 deletionsbeacon/src/eth1.rs
- beacon/src/executive/cache.rs 0 additions, 20 deletionsbeacon/src/executive/cache.rs
- beacon/src/executive/genesis.rs 82 additions, 0 deletionsbeacon/src/executive/genesis.rs
- beacon/src/executive/helpers/mod.rs 335 additions, 0 deletionsbeacon/src/executive/helpers/mod.rs
- beacon/src/executive/helpers/validator.rs 85 additions, 0 deletionsbeacon/src/executive/helpers/validator.rs
- beacon/src/executive/mod.rs 182 additions, 346 deletionsbeacon/src/executive/mod.rs
- beacon/src/executive/per_block.rs 0 additions, 424 deletionsbeacon/src/executive/per_block.rs
- beacon/src/executive/per_epoch.rs 0 additions, 456 deletionsbeacon/src/executive/per_epoch.rs
- beacon/src/executive/per_slot.rs 0 additions, 9 deletionsbeacon/src/executive/per_slot.rs
- beacon/src/executive/transition/cache.rs 47 additions, 0 deletionsbeacon/src/executive/transition/cache.rs
- beacon/src/executive/transition/mod.rs 20 additions, 0 deletionsbeacon/src/executive/transition/mod.rs
- beacon/src/executive/transition/per_block/eth1.rs 32 additions, 0 deletionsbeacon/src/executive/transition/per_block/eth1.rs
- beacon/src/executive/transition/per_block/header.rs 68 additions, 0 deletionsbeacon/src/executive/transition/per_block/header.rs
- beacon/src/executive/transition/per_block/mod.rs 21 additions, 0 deletionsbeacon/src/executive/transition/per_block/mod.rs
- beacon/src/executive/transition/per_block/operations/attestation.rs 82 additions, 0 deletions.../executive/transition/per_block/operations/attestation.rs
Please register or sign in to comment