Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
  • Loading branch information
mkalinin and djrtwo authored Aug 2, 2022
1 parent 47ee430 commit a3b7c6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sync/optimistic.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ State sync requires the knowledge of the current head of the chain to converge e
If not constantly fed with the most recent head, state sync won't be able to complete
because the recent state soon becomes unavailable due to state trie pruning.

Optimistic block import (i.e. import without waiting for a payload to be executed by the engine)
breaks a deadlock between the state sync and processing a beacon block by skipping payload
execution as long as execution engine is syncing.
Optimistic block import (i.e. import when the execution engine *cannot* currently validate the payload)
breaks a deadlock between the execution layer sync process and importing beacon blocks
while the execution engine is syncing.

Optimistic sync works nicely with execution engines using block execution as a default
sync mechanism (e.g. Erigon). It makes optimistic sync a *generalized* solution for
Expand Down

0 comments on commit a3b7c6c

Please sign in to comment.