lighthouse/beacon_node
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
..
beacon_chain Consensus context with proposer index caching (#3604) 2022-10-15 22:25:54 +00:00
builder_client Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
client CLI tests for logging flags (#3609) 2022-10-04 08:33:40 +00:00
eth1 Remove fallback support from eth1 service (#3594) 2022-10-04 08:33:39 +00:00
execution_layer Optimistic sync spec tests (v1.2.0) (#3564) 2022-10-15 22:25:52 +00:00
genesis Remove fallback support from eth1 service (#3594) 2022-10-04 08:33:39 +00:00
http_api Optimise HTTP validator lookups (#3559) 2022-10-15 22:25:51 +00:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Handle Lodestar's new agent string (#3620) 2022-09-29 01:50:13 +00:00
network [DEV FEATURE] Deterministic long lived subnets (#3453) 2022-10-04 10:37:48 +00:00
operation_pool Refactor op pool for speed and correctness (#3312) 2022-08-29 09:10:26 +00:00
src Pass EL JWT secret key via cli flag (#3568) 2022-10-04 12:41:03 +00:00
store Consensus context with proposer index caching (#3604) 2022-10-15 22:25:54 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml v3.1.2 (#3603) 2022-09-26 01:17:36 +00:00