lighthouse/testing
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
..
antithesis Fix antithesis docker builds (#3380) 2022-07-28 07:40:03 +00:00
ef_tests Consensus context with proposer index caching (#3604) 2022-10-15 22:25:54 +00:00
eth1_test_rig Fix ganache test endpoint for ipv6 machines (#3563) 2022-09-13 01:57:45 +00:00
execution_engine_integration Fix ee integration tests (#3592) 2022-09-23 03:52:43 +00:00
node_test_rig Add merge support to simulator (#3292) 2022-07-18 23:15:40 +00:00
simulator CLI tests for logging flags (#3609) 2022-10-04 08:33:40 +00:00
state_transition_vectors Consensus context with proposer index caching (#3604) 2022-10-15 22:25:54 +00:00
test-test_logger Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
web3signer_tests Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00