lighthouse/beacon_node
Paul Hauner 1f54e10b7b Do not interpret "latest valid hash" as identifying a valid hash (#3327)
## Issue Addressed

NA

## Proposed Changes

After some discussion in Discord with @mkalinin it was raised that it was not the intention of the engine API to have CLs validate the `latest_valid_hash` (LVH) and all ancestors.

Whilst I believe the engine API is being updated such that the LVH *must* identify a valid hash or be set to some junk value, I'm not confident that we can rely upon the LVH as being valid (at least for now) due to the confusion surrounding it.

Being able to validate blocks via the LVH is a relatively minor optimisation; if the LVH value ends up becoming our head we'll send an fcU and get the VALID status there.

Falsely marking a block as valid has serious consequences and since it's a minor optimisation to use LVH I think that we don't take the risk.

For clarity, we will still *invalidate* the *descendants* of the LVH, we just wont *validate* the *ancestors*.

## Additional Info

NA
2022-07-13 23:07:49 +00:00
..
beacon_chain Do not interpret "latest valid hash" as identifying a valid hash (#3327) 2022-07-13 23:07:49 +00:00
builder_client Remove builder redundancy (#3294) 2022-07-01 01:15:19 +00:00
client Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
eth1 Unify execution layer endpoints (#3214) 2022-06-29 09:07:09 +00:00
execution_layer Further remove EE redundancy (#3324) 2022-07-13 20:31:39 +00:00
genesis Unify execution layer endpoints (#3214) 2022-06-29 09:07:09 +00:00
http_api Ensure caches are built for block_rewards POST API (#3305) 2022-07-04 02:56:15 +00:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
network Remove unused method in HandlerNetworkContext (#3299) 2022-07-04 02:56:14 +00:00
operation_pool Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
src Remove builder redundancy (#3294) 2022-07-01 01:15:19 +00:00
store Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +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 v2.3.2-rc.0 (#3289) 2022-06-28 03:03:30 +00:00