lighthouse/testing/ef_tests/src
Michael Sproul 59ec6b71b8 Consensus context with proposer index caching (#3604)
## Issue Addressed

Closes https://github.com/sigp/lighthouse/issues/2371

## Proposed Changes

Backport some changes from `tree-states` that remove duplicated calculations of the `proposer_index`.

With this change the proposer index should be calculated only once for each block, and then plumbed through to every place it is required.

## Additional Info

In future I hope to add more data to the consensus context that is cached on a per-epoch basis, like the effective balances of validators and the base rewards.

There are some other changes to remove indexing in tests that were also useful for `tree-states` (the `tree-states` types don't implement `Index`).
2022-10-15 22:25:54 +00:00
..
cases Consensus context with proposer index caching (#3604) 2022-10-15 22:25:54 +00:00
bls_setting.rs Bump the MSRV to 1.62 and using #[derive(Default)] on enums (#3304) 2022-07-15 07:31:19 +00:00
case_result.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
cases.rs Add a new bls test (#3235) 2022-10-12 23:40:42 +00:00
decode.rs Replace OpenOptions::new with File::options to be readable (#3059) 2022-03-07 06:30:18 +00:00
error.rs Add fork choice EF tests (#2737) 2021-11-08 07:29:04 +00:00
handler.rs Optimistic sync spec tests (v1.2.0) (#3564) 2022-10-15 22:25:52 +00:00
lib.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
results.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
type_name.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00