Commit Graph

3 Commits

Author SHA1 Message Date
Lucas Saldanha 5c88de8bb9 Remove requests in execution_payload from full-node lightclient spec 2024-08-13 17:50:31 +12:00
Lucas Saldanha f9ac90200a Updated light-client block -> header function 2024-08-12 10:53:47 +12:00
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