lighthouse/beacon_node
Joel Rousseau 189430a45c
Add attestation simulator (#4880)
* basic scaffold

* remove unnecessary ?

* check if committee cache is init

* typed ValidatorMonitor with ethspecs + store attestations within

* nits

* process unaggregated attestation

* typo

* extract in func

* add tests

* better naming

* better naming 2

* less verbose

* use same naming as validator monitor

* use attestation_simulator

* add metrics

* remove cache

* refacto flag_indices process

* add lag

* remove copying state

* clean and lint

* extract metrics

* nits

* compare prom metrics in tests

* implement lag

* nits

* nits

* add attestation simulator service

* fmt

* return beacon_chain as arc

* nit: debug

* sed s/unaggregated/unagg.//

* fmt

* fmt

* nit: remove unused comments

* increase max unaggregated attestation hashmap to 64

* nit: sed s/clone/copied//

* improve perf: remove unecessary hashmap copy

* fix flag indices comp

* start service in client builder

* remove //

* cargo fmt

* lint

* cloned keys

* fmt

* use Slot value instead of pointer

* Update beacon_node/beacon_chain/src/attestation_simulator.rs

Co-authored-by: Paul Hauner <paul@paulhauner.com>

---------

Co-authored-by: Paul Hauner <paul@paulhauner.com>
2023-12-14 11:44:56 +11:00
..
beacon_chain Add attestation simulator (#4880) 2023-12-14 11:44:56 +11:00
beacon_processor Sidecar inclusion proof (#4900) 2023-12-05 11:19:59 -05:00
builder_client Sidecar inclusion proof (#4900) 2023-12-05 11:19:59 -05:00
client Add attestation simulator (#4880) 2023-12-14 11:44:56 +11:00
eth1 fix typos (#4838) 2023-10-19 22:05:15 +00:00
execution_layer Sidecar inclusion proof (#4900) 2023-12-05 11:19:59 -05:00
genesis Fix Rust beta compiler warnings (rustc 1.75.0-beta.1 (782883f60 2023-11-12)) (#4932) 2023-11-18 03:55:11 +11:00
http_api Implement POST validators/validator_balances APIs (#4872) 2023-12-08 12:09:36 +11:00
http_metrics Fix Rust beta compiler warnings (rustc 1.75.0-beta.1 (782883f60 2023-11-12)) (#4932) 2023-11-18 03:55:11 +11:00
lighthouse_network Disable flood publishing (#4383) 2023-12-12 09:45:54 +11:00
network Remove delayed lookups (#4992) 2023-12-08 15:42:55 -05:00
operation_pool Enable BLS portable feature on all CI tests (#4868) 2023-10-20 07:30:27 +00:00
src Enable progressive balances fast mode by default (#4971) 2023-12-04 14:42:49 +11:00
store Fix corrupted DB on networks where the first slot is skipped (Holesky) (#4985) 2023-12-07 15:12:06 +11:00
tests Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
timer Activate clippy::manual_let_else lint (#4889) 2023-10-31 10:31:02 +00:00
Cargo.toml Merge unstable 20230925 into deneb-free-blobs. 2023-09-26 10:32:18 +10:00