You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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!
Just to clarify some terminology as we (EF Portal) use a lot of confusing terminology.
Portal: is a collection of p2p protocols built on the Portal-wire-specification which is a framework for building distributed storage networks or p2p networks in general
Trin: is an implementation of the Portal specification and all the sub-protocols (history,state,beacon,etc). All networks are optional to implement.
Trin Execution: is an Execution client we are implementing comparable to Geth/Nethermind/Besu/etc but with the key difference of we will not be using devp2p. So instead we will need to rely on “The Portal Networks”, archival formats, and Consensus clients to achieve what devp2p provides.
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!
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: