lighthouse-pulse/beacon_node/network
ethDreamer 7c3ff903ca Fix Gossip Penalties During Optimistic Sync Window (#3350)
## Issue Addressed
* #3344 

## Proposed Changes

There are a number of cases during block processing where we might get an `ExecutionPayloadError` but we shouldn't penalize peers. We were forgetting to enumerate all of the non-penalizing errors in every single match statement where we are making that decision. I created a function to make it explicit when we should and should not penalize peers and I used that function in all places where this logic is needed. This way we won't make the same mistake if we add another variant of `ExecutionPayloadError` in the future.
2022-07-20 20:59:38 +00:00
..
src Fix Gossip Penalties During Optimistic Sync Window (#3350) 2022-07-20 20:59:38 +00:00
Cargo.toml Fix Rust 1.61 clippy lints (#3192) 2022-05-20 05:02:13 +00:00