-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store execution payloads during backfill if --prune-payloads false
#6510
Comments
Just to clarify some terminology as we (EF Portal) use a lot of confusing terminology.
Our initial usecase of Trin Execution will be gossiping genesis-latest execution state diffs to the “Portal State Network”, but it will likely become a full Execution client released to the public in time. It also serves as a backup solution if we don’t get adequate adoption by major EL clients. So this change would be very nice for syncing Trin Execution! |
Unblocked, will try to get this in for the next release |
I would like to give this a go |
Part of the changes required for this feature (pruning) are in this PR: That PR updates the pruning to go back to the oldest_block_slot (rather than the slot of the downloaded checkpoint), which ensures that we will prune payloads between |
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
isfalse
, store execution payloads in the hot DB as part ofimport_historical_block_batch
.Additional Info
Should probably be implemented after the hdiff PR is merged, which modifies the backfill logic:
The text was updated successfully, but these errors were encountered: