Open
Description
Description
When Besu is receiving a fork choice update it would usually have received the NewPayload containing the blocks before that. The PivotSelectorFromSafeBlock uses the fork choice to set a new pivot block, but under certain circumstances it is downloading the header for the safe block. If the ForkChoiceEvent did provide the Headers for its three blocks this would be unnecessary.
This could be done by caching the block headers from the NewPayload and adding them to the ForkChoiceEvent if they are available.