feat(warp): warp sync #417
Labels
feature
Request for new feature or enhancement
help-wanted
Looking for contributors to help with this
research
Research and exploration required before implementation
Is there an existing issue?
Motivation
Current l2 is mostly compute-bound by the time it take to calculate the state root of a block. This is necessary once we have reached the tip of the chain but not while we are synchronizing.
Request
Improve L2 sync times.
Solution
Add a cli option
--warp-sync
which computes the state root only at the end of synchronization. This has the advantage that blocks can be synchronized much faster, at the cost that any invalid/malicious information will only be detected once we have reached the tip of the chain.This should also be applied to #393 during warp updates as we are synchronizing from a trusted source anyway.
Are you willing to help with this request?
Yes!
The text was updated successfully, but these errors were encountered: