lighthouse/beacon_node/network/src
Paul Hauner dd124b2d68 Address observed proposers behaviour (#4192)
## Issue Addressed

NA

## Proposed Changes

Apply two changes to code introduced in #4179:

1. Remove the `ERRO` log for when we error on `proposer_has_been_observed()`. We were seeing a lot of this in our logs for finalized blocks and it's a bit noisy.
1. Use `false` rather than `true` for `proposal_already_known` when there is an error. If a block raises an error in `proposer_has_been_observed()` then the block must be invalid, so we should process (and reject) it now rather than queuing it.

For reference, here is one of the offending `ERRO` logs:

```
ERRO Failed to check observed proposers block_root: 0x5845…878e, source: rpc, error: FinalizedBlock { slot: Slot(5410983), finalized_slot: Slot(5411232) }
```

## Additional Info

NA
2023-04-14 06:37:16 +00:00
..
beacon_processor Address observed proposers behaviour (#4192) 2023-04-14 06:37:16 +00:00
service Support for Ipv6 (#4046) 2023-03-14 01:13:34 +00:00
subnet_service blacklist tests in windows (#3961) 2023-02-16 23:34:30 +00:00
sync Clean capella (#4019) 2023-03-01 03:19:02 +00:00
error.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
lib.rs Separate committee subscriptions queue (#3508) 2022-08-30 05:47:31 +00:00
metrics.rs Clean capella (#4019) 2023-03-01 03:19:02 +00:00
nat.rs Support for Ipv6 (#4046) 2023-03-14 01:13:34 +00:00
persisted_dht.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
router.rs Remove Router/Processor Code (#4002) 2023-03-15 01:27:47 +00:00
service.rs Remove Router/Processor Code (#4002) 2023-03-15 01:27:47 +00:00
status.rs enable 4844 at epoch 3 2022-09-18 12:13:03 +02:00