lighthouse/beacon_node/beacon_chain/tests
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
..
attestation_production.rs Add attestation simulator (#4880) 2023-12-14 11:44:56 +11:00
attestation_verification.rs Merge branch 'unstable' into merge-unstable-to-deneb-20230822 2023-08-22 21:20:47 +10:00
block_verification.rs Sidecar inclusion proof (#4900) 2023-12-05 11:19:59 -05:00
capella.rs Cache target attester balances for unrealized FFG progression calculation (#4362) 2023-06-30 01:13:06 +00:00
events.rs Sidecar inclusion proof (#4900) 2023-12-05 11:19:59 -05:00
main.rs Add missed blocks to monitored validators (#4731) 2023-11-09 15:05:14 +11:00
merge.rs Fix conflicts rebasing eip4844 2023-02-10 09:41:23 +01:00
op_verification.rs Always use a separate database for blobs (#4892) 2023-11-09 16:51:36 +11:00
payload_invalidation.rs Merge branch 'unstable' into merge-unstable-to-deneb-20230822 2023-08-22 21:20:47 +10:00
rewards.rs Fix for issue 4860 - Added in process_justification_and_finalization (#4877) 2023-11-16 22:07:48 +11:00
store_tests.rs Fix corrupted DB on networks where the first slot is skipped (Holesky) (#4985) 2023-12-07 15:12:06 +11:00
sync_committee_verification.rs Aggregate subsets (#3493) 2023-06-27 01:06:49 +00:00
tests.rs Merge branch 'unstable' into merge-unstable-to-deneb-20230822 2023-08-22 21:20:47 +10:00
validator_monitor.rs Add attestation simulator (#4880) 2023-12-14 11:44:56 +11:00