lighthouse/common
Pawan Dhananjay 31044402ee
Sidecar inclusion proof (#4900)
* Refactor BlobSidecar to new type

* Fix some compile errors

* Gossip verification compiles

* Fix http api types take 1

* Fix another round of compile errors

* Beacon node crate compiles

* EF tests compile

* Remove all blob signing from VC

* fmt

* Tests compile

* Fix some tests

* Fix more http tests

* get compiling

* Fix gossip conditions and tests

* Add basic proof generation and verification

* remove unnecessary ssz decode

* add back build_sidecar

* remove default at fork for blobs

* fix beacon chain tests

* get relase tests compiling

* fix lints

* fix existing spec tests

* add new ef tests

* fix gossip duplicate rule

* lints

* add back sidecar signature check in gossip

* add finalized descendant check to blob sidecar gossip

* fix error conversion

* fix release tests

* sidecar inclusion self review cleanup

* Add proof verification and computation metrics

* Remove accidentally committed file

* Unify some block and blob errors; add slashing conditions for sidecars

* Address review comment

* Clean up re-org tests (#4957)

* Address more review comments

* Add Comments & Eliminate Unnecessary Clones

* update names

* Update beacon_node/beacon_chain/src/metrics.rs

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>

* Update beacon_node/network/src/network_beacon_processor/tests.rs

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>

* pr feedback

* fix test compile

* Sidecar Inclusion proof small refactor and updates (#4967)

* Update some comments, variables and small cosmetic fixes.

* Couple blobs and proofs into a tuple in `PayloadAndBlobs` for simplicity and safety.

* Update function comment.

* Update testing/ef_tests/src/cases/merkle_proof_validity.rs

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>

* Rename the block and blob wrapper types used in the beacon API interfaces.

* make sure gossip invalid blobs are passed to the slasher (#4970)

* Add blob headers to slasher before adding to DA checker

* Replace Vec with HashSet in BlockQueue

* fmt

* Rename gindex -> index

* Simplify gossip condition

---------

Co-authored-by: realbigsean <seananderson33@gmail.com>
Co-authored-by: realbigsean <sean@sigmaprime.io>
Co-authored-by: Michael Sproul <michael@sigmaprime.io>
Co-authored-by: Mark Mackey <mark@sigmaprime.io>
Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
2023-12-05 11:19:59 -05: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 Sidecar inclusion proof (#4900) 2023-12-05 11:19:59 -05: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.