lighthouse/common
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
..
account_utils Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
clap_utils Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
compare_fields Generalise compare_fields to work with iterators (#4823) 2023-10-18 12:59:53 +00:00
compare_fields_derive Activate clippy::manual_let_else lint (#4889) 2023-10-31 10:31:02 +00:00
deposit_contract Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
directory Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
eth2 API for LightClientBootstrap, LightClientFinalityUpdate, LightClientOptimisticUpdate and light client events (#3954) 2023-11-28 17:14:29 +11:00
eth2_config Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
eth2_interop_keypairs Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
eth2_network_config Remove MAX_BLOBS_PER_BLOCK from Holesky config. (#4955) 2023-11-27 23:07:40 +11:00
eth2_wallet_manager Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
filesystem Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
lighthouse_metrics Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
lighthouse_version Release v4.5.0 (#4768) 2023-09-25 05:14:01 +00:00
lockfile Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
logging Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
lru_cache Ultra Fast Super Slick CI (#4755) 2023-10-03 06:33:15 +00:00
malloc_utils Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
monitoring_api Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
oneshot_broadcast Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
pretty_reqwest_error Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
sensitive_url Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
slot_clock Fix Rust beta compiler warnings (rustc 1.75.0-beta.1 (782883f60 2023-11-12)) (#4932) 2023-11-18 03:55:11 +11:00
system_health Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
target_check Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
task_executor Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
test_random_derive Activate clippy::manual_let_else lint (#4889) 2023-10-31 10:31:02 +00:00
unused_port Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
validator_dir Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
warp_utils Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
README.md Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00

eth2

Common crates containing eth2-specific logic.