lighthouse-pulse/beacon_node/http_api
Michael Sproul 748475be1d Ensure caches are built for block_rewards POST API (#3305)
## Issue Addressed

Follow up to https://github.com/sigp/lighthouse/pull/3290 that fixes a caching bug

## Proposed Changes

Build the committee cache for the new `POST /lighthouse/analysis/block_rewards` API. Due to an unusual quirk of the total active balance cache the API endpoint would sometimes fail after loading a state from disk which had a current epoch cache _but not_  a total active balance cache. This PR adds calls to build the caches immediately before they're required, and has been running smoothly with `blockdreamer` the last few days.
2022-07-04 02:56:15 +00:00
..
src Ensure caches are built for block_rewards POST API (#3305) 2022-07-04 02:56:15 +00:00
tests Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml Register validator api (#3194) 2022-06-30 00:49:21 +00:00