lighthouse/consensus/state_processing/src
GeemoCandama 8a599ec7dc
API for LightClientBootstrap, LightClientFinalityUpdate, LightClientOptimisticUpdate and light client events (#3954)
* rebase and add comment

* conditional test

* test

* optimistic chould be working now

* finality should be working now

* try again

* try again

* clippy fix

* add lc bootstrap beacon api

* add lc optimistic/finality update to events

* fmt

* That error isn't occuring on my computer but I think this should fix it

* Add missing test file

* Update light client types to comply with Altair light client spec.

* Fix test compilation

* Support deserializing light client structures for the Bellatrix fork

* Move `get_light_client_bootstrap` logic to `BeaconChain`. `LightClientBootstrap` API to return `ForkVersionedResponse`.

* Misc fixes.
- log cleanup
- move http_api config mutation to `config::get_config` for consistency
- fix light client API responses

* Add light client bootstrap API test and fix existing ones.

* Fix test for `light-client-server` http api config.

* Appease clippy

* Efficiency improvement when retrieving beacon state.

---------

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
2023-11-28 17:14:29 +11:00
..
common Changes for devnet-8 (#4518) 2023-08-09 15:44:47 -04:00
per_block_processing Merge branch 'unstable' into merge-unstable-to-deneb-20231005 2023-10-06 00:20:54 +11:00
per_epoch_processing Merge unstable 20230925 into deneb-free-blobs. 2023-09-26 10:32:18 +10:00
upgrade API for LightClientBootstrap, LightClientFinalityUpdate, LightClientOptimisticUpdate and light client events (#3954) 2023-11-28 17:14:29 +11:00
block_replayer.rs Use peeking_take_while in BlockReplayer (#4803) 2023-10-05 06:03:24 +00:00
consensus_context.rs Refactor deneb block processing (#4511) 2023-07-25 10:51:10 -04:00
genesis.rs Merge branch 'remove-into-gossip-verified-block' of https://github.com/realbigsean/lighthouse into merge-unstable-deneb-june-6th 2023-07-06 16:51:35 -04:00
lib.rs Rust 1.71 lints (#4503) 2023-07-17 00:14:19 +00:00
macros.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
metrics.rs Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
per_block_processing.rs Merge branch 'remove-into-gossip-verified-block' of https://github.com/realbigsean/lighthouse into merge-unstable-deneb-june-6th 2023-07-06 16:51:35 -04:00
per_epoch_processing.rs Rename eip4844 to deneb (#4129) 2023-03-26 11:49:16 -04:00
per_slot_processing.rs Remove checkpoint alignment requirements and enable historic state pruning (#4610) 2023-08-21 05:02:32 +00:00
state_advance.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
upgrade.rs Rename eip4844 to deneb (#4129) 2023-03-26 11:49:16 -04:00
verify_operation.rs Rust 1.71 lints (#4503) 2023-07-17 00:14:19 +00:00