2035a9fcad
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. |
||
---|---|---|
.. | ||
README.md | ||
__init__.py | ||
main.py | ||
requirements.txt |
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.