Closed
Description
Description
@KolbyML notes that the ability to keep execution payloads during block backfill would be useful for syncing Trin (portal network client). It's a bit of a gotcha that at the moment Lighthouse throws out execution payloads during backfill sync, even when running with --prune-payloads false
. We download the payloads from peers, and then throw them straight in the bin!
lighthouse/beacon_node/beacon_chain/src/historical_blocks.rs
Lines 121 to 134 in 2e0eb6d
Steps to resolve
If prune-payloads
is false
, store execution payloads in the hot DB as part of import_historical_block_batch
.
Additional Info
Should probably be implemented after the hdiff PR is merged, which modifies the backfill logic: