eth2.0-specs/specs/altair
Etan Kissling 8bf801ecc6
Add `block_to_light_client_header` helper
Introduce `block_to_light_client_header` helper function to enable
future forks to override it with additional info (e.g., execution),
without having to change the general light client logic.

Likewise, update existing light client data creation flow to use
`block_to_light_client_header` and default-initialize empty fields.

Furthermore, generalize `create_update` helper to streamline test code
using `block_to_light_client_header`.

Note: In Altair spec, LC header is the same as `BeaconBlockHeader`.
however; future forks will extend it with more information.
2022-12-06 17:44:41 +01:00
..
light-client Add `block_to_light_client_header` helper 2022-12-06 17:44:41 +01:00
beacon-chain.md PR feedback from @ralexstokes 2022-07-18 14:45:00 +08:00
bls.md rename eth1 and eth2 throughout specs and readme where reasonable 2021-08-18 17:13:24 -06:00
fork.md Move `compute_fork_version` to `fork.md` 2022-06-23 21:03:24 +02:00
p2p-interface.md Ignore subset aggregates (#2847) 2022-05-17 07:05:22 -06:00
validator.md Typo in sync committee duties description 2022-10-02 12:19:55 +02:00