eth2.0-specs/specs
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
..
altair Add `block_to_light_client_header` helper 2022-12-06 17:44:41 +01:00
bellatrix Update p2p-interface.md 2022-11-04 15:54:30 -06:00
capella Clarify that full withdrawals only apply to exited validators 2022-11-30 16:21:06 -08:00
custody_game `doctoc` on `custody_game` specs 2022-01-17 12:56:51 +01:00
das Fix typos 2022-11-12 23:36:34 -08:00
eip4844 EIP4844 precompile: Be strict when parsing field elements from network (#3138) 2022-12-01 14:59:00 +02:00
phase0 deprecate phase 0-only versions of beacon_blocks_by_{range,root} 2022-09-26 15:01:45 +00:00
sharding Fix typos 2022-11-12 23:36:34 -08:00