8bf801ecc6
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. |
||
---|---|---|
.. | ||
config | ||
debug | ||
gen_helpers | ||
test | ||
utils | ||
VERSION.txt | ||
__init__.py |