lighthouse/consensus/fork_choice
Michael Sproul e32868458f Set safe block hash to justified (#3347)
## Issue Addressed

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

## Proposed Changes

- Always supply the justified block hash as the `safe_block_hash` when calling `forkchoiceUpdated` on the execution engine.
- Refactor the `get_payload` routine to use the new `ForkchoiceUpdateParameters` struct rather than just the `finalized_block_hash`. I think this is a nice simplification and that the old way of computing the `finalized_block_hash` was unnecessary, but if anyone sees reason to keep that approach LMK.
2022-07-21 05:45:37 +00:00
..
src Set safe block hash to justified (#3347) 2022-07-21 05:45:37 +00:00
tests Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00