eth2.0-specs/tests/core/pyspec/eth2spec
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
..
config Add `CONFIG_NAME` to configs 2021-12-29 13:02:36 +01:00
debug fix spacing for linter 2021-06-24 09:24:58 -07:00
gen_helpers Fix --preset-list argument and enhance error output 2022-11-18 05:08:37 +08:00
test Add `block_to_light_client_header` helper 2022-12-06 17:44:41 +01:00
utils Add testing KZG trusted setups generator tool and load the file during building pyspec 2022-11-03 10:17:42 -05:00
VERSION.txt bump VERSION.txt 2022-11-18 08:01:21 -07:00
__init__.py more explicit about version file location 2020-02-08 23:59:08 +01:00