lighthouse/beacon_node
GeemoCandama f857811e5f light client optimistic update reprocessing (#3799)
Currently there is a race between receiving blocks and receiving light client optimistic updates (in unstable), which results in processing errors. This is a continuation of PR #3693 and seeks to progress on issue #3651

Add the parent_root to ReprocessQueueMessage::BlockImported so we can remove blocks from queue when a block arrives that has the same parent root. We use the parent root as opposed to the block_root because the LightClientOptimisticUpdate does not contain the block_root.

If light_client_optimistic_update.attested_header.canonical_root() != head_block.message().parent_root() then we queue the update. Otherwise we process immediately.
michaelsproul came up with this idea.
The code was heavily based off of the attestation reprocessing.
I have not properly tested this to see if it works as intended.
2023-01-25 14:23:33 +01:00
..
beacon_chain light client optimistic update reprocessing (#3799) 2023-01-25 14:23:33 +01:00
builder_client Merge remote-tracking branch 'origin/unstable' into capella 2023-01-12 16:22:00 +11:00
client merge capella 2023-01-12 12:51:09 -05:00
eth1 Remove withdrawals-processing feature (#3864) 2023-01-12 15:15:08 +11:00
execution_layer execution API related fixes 2023-01-19 09:32:08 -05:00
genesis Use eth1_withdrawal_credentials in Test States (#3898) 2023-01-25 14:21:54 +01:00
http_api Implement sync_committee_rewards API (per-validator reward) (#3903) 2023-01-25 14:22:15 +01:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network merge conflict resolution 2023-01-25 11:10:44 +01:00
network light client optimistic update reprocessing (#3799) 2023-01-25 14:23:33 +01:00
operation_pool Import BLS to execution changes before Capella (#3892) 2023-01-25 14:21:54 +01:00
src get rid of EL endpoint switching at forks 2023-01-13 10:51:45 -05:00
store merge capella 2023-01-12 12:51:09 -05: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 merge capella 2023-01-12 12:51:09 -05:00