lighthouse-pulse/consensus
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
..
cached_tree_hash Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
fork_choice Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
int_to_bytes Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
merkle_proof Fix Rust beta compiler warnings (rustc 1.75.0-beta.1 (782883f60 2023-11-12)) (#4932) 2023-11-18 03:55:11 +11:00
proto_array Activate clippy::manual_let_else lint (#4889) 2023-10-31 10:31:02 +00:00
safe_arith Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
state_processing API for LightClientBootstrap, LightClientFinalityUpdate, LightClientOptimisticUpdate and light client events (#3954) 2023-11-28 17:14:29 +11:00
swap_or_not_shuffle Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
types API for LightClientBootstrap, LightClientFinalityUpdate, LightClientOptimisticUpdate and light client events (#3954) 2023-11-28 17:14:29 +11:00