eth2.0-specs/tests/generators/light_client
Etan Kissling 2035a9fcad
Update light client specifications for Electra
Electra introduces two changes that affect light client data handling:

1. The `ExecutionPayloadHeader` is extended with new fields.
   This is handled similarly as before with the Deneb fork.

2. The `BeaconState` generalized indices change due to lack of EIP-6493.
   This is handled by making the generalized index be fork dependent via
   a helper function that computes it dynamically. Furthermore, the case
   where pre-Electra light client data is consumed by an Electra based
   `LightClientStore` requires normalizing the shorter proof of the
   pre-Electra data to fit into the Electra data structure by prepending
   a zero hash.
2024-06-21 11:33:52 +02:00
..
README.md Move test files to `light_client` subdir 2022-07-15 21:36:26 +02:00
__init__.py Move test files to `light_client` subdir 2022-07-15 21:36:26 +02:00
main.py Update light client specifications for Electra 2024-06-21 11:33:52 +02:00
requirements.txt Move test files to `light_client` subdir 2022-07-15 21:36:26 +02:00

README.md

Light client tests

The purpose of this test-generator is to provide test-vectors for validating the correct implementation of the light client sync protocol.

Test-format documentation can be found here.