Skip to content

[Watcher] Optimize sync #120

Open
Open
@greged93

Description

@greged93

The following sync optimization should be explored:

  • Reverse sync: sync all L1 messages then start looking for commit logs starting at the L1 finalized block and going back to genesis. At the first batch, construct the FCS and only issue a single FCU.
  • Parallel derivation: derive the payload attributes in parallel to the EN sync. Store the attributes in database and start passing attributes when the EN is synced. Similar to reverse sync, start at the end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions