lighthouse/beacon_node
realbigsean 904dd62524 Strict fee recipient (#3363)
## Issue Addressed

Resolves #3267
Resolves #3156 

## Proposed Changes

- Move the log for fee recipient checks from proposer cache insertion into block proposal so we are directly checking what we get from the EE
- Only log when there is a discrepancy with the local EE, not when using the builder API. In the `builder-api` branch there is an `info` log when there is a discrepancy, I think it is more likely there will be a difference in fee recipient with the builder api because proposer payments might be made via a transaction in the block. Not really sure what patterns will become commong.
- Upgrade the log from a `warn` to an `error` - not actually sure which we want, but I think this is worth an error because the local EE with default transaction ordering I think should pretty much always use the provided fee recipient
- add a `strict-fee-recipient` flag to the VC so we only sign blocks with matching fee recipients. Falls back from the builder API to the local API if there is a discrepancy .




Co-authored-by: realbigsean <sean@sigmaprime.io>
2022-07-26 02:17:24 +00:00
..
beacon_chain Realized unrealized experimentation (#3322) 2022-07-25 23:53:26 +00:00
builder_client Remove builder redundancy (#3294) 2022-07-01 01:15:19 +00:00
client Merge readiness endpoint (#3349) 2022-07-21 05:45:39 +00:00
eth1 Fix Block Cache Range Math for Faster Syncing (#3358) 2022-07-26 02:17:21 +00:00
execution_layer Strict fee recipient (#3363) 2022-07-26 02:17:24 +00:00
genesis Unify execution layer endpoints (#3214) 2022-06-29 09:07:09 +00:00
http_api Realized unrealized experimentation (#3322) 2022-07-25 23:53:26 +00:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Bump the MSRV to 1.62 and using #[derive(Default)] on enums (#3304) 2022-07-15 07:31:19 +00:00
network Realized unrealized experimentation (#3322) 2022-07-25 23:53:26 +00:00
operation_pool Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
src Realized unrealized experimentation (#3322) 2022-07-25 23:53:26 +00:00
store Realized unrealized experimentation (#3322) 2022-07-25 23:53:26 +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.4.0 (#3360) 2022-07-21 22:02:36 +00:00