lighthouse/beacon_node/beacon_chain
Pawan Dhananjay a0c5701e36 Only import blocks with valid execution payloads (#2869)
## Issue Addressed

N/A

## Proposed Changes

We are currently treating errors from the EL on `engine_executePayload` as `PayloadVerificationStatus::NotVerified`. This adds the block as a candidate head block in fork choice even if the EL explicitly rejected the block as invalid. 

`PayloadVerificationStatus::NotVerified` should be only returned when the EL explicitly returns "syncing" imo. This PR propagates an error instead of returning `NotVerified` on EL all EL errors.
2021-12-22 08:15:37 +00:00
..
src Only import blocks with valid execution payloads (#2869) 2021-12-22 08:15:37 +00:00
tests Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
Cargo.toml Additional networking metrics (#2549) 2021-12-22 06:17:14 +00:00