Skip to content

Sync Committee: State Root Synchronization#860

Merged
zadykian merged 1 commit intomainfrom
sync-committee/l1-sync
Apr 29, 2025
Merged

Sync Committee: State Root Synchronization#860
zadykian merged 1 commit intomainfrom
sync-committee/l1-sync

Conversation

@zadykian
Copy link
Copy Markdown
Contributor

@zadykian zadykian commented Apr 25, 2025

Sync Committee: State Root Synchronization

Follow-up #798 #795

Introduced a mechanism to synchronize finalized state root stored locally with the L1 and L2 networks. Synchronization is triggered:

  • By the new stateRootSyncRunner worker during Sync Committee node startup. It will retry syncing the state until it succeeds or execution is canceled.
  • During full state reset (StateResetLauncher.LaunchResetToL1WithSuspension()).

Synchronization logic is determined by the DisableL1 flag and implemented in the stateRootSyncer type

@notion-workspace
Copy link
Copy Markdown

@zadykian zadykian requested review from akokoshn and x-mass April 25, 2025 12:00
@zadykian zadykian force-pushed the sync-committee/l1-sync branch from a5db1e0 to cb69595 Compare April 25, 2025 12:10
@zadykian zadykian force-pushed the sync-committee/l1-sync branch from cb69595 to 99e7ab0 Compare April 25, 2025 12:12
@zadykian zadykian force-pushed the sync-committee/l1-sync branch from 99e7ab0 to fa68b51 Compare April 25, 2025 13:34
@zadykian zadykian force-pushed the sync-committee/batch-constraints branch 2 times, most recently from f5ff256 to 6d4e019 Compare April 27, 2025 15:21
@zadykian zadykian force-pushed the sync-committee/l1-sync branch from fa68b51 to e7ee909 Compare April 27, 2025 15:21
@zadykian zadykian force-pushed the sync-committee/l1-sync branch from e7ee909 to 4df96b4 Compare April 27, 2025 15:42
@zadykian zadykian force-pushed the sync-committee/l1-sync branch from 4df96b4 to 7d09759 Compare April 27, 2025 15:44
@zadykian zadykian requested a review from oclaw April 28, 2025 08:46
@zadykian zadykian force-pushed the sync-committee/batch-constraints branch from 6d4e019 to d219a4b Compare April 28, 2025 09:05
@zadykian zadykian force-pushed the sync-committee/l1-sync branch from 7d09759 to 0229053 Compare April 28, 2025 09:08
Base automatically changed from sync-committee/batch-constraints to main April 28, 2025 09:36
@zadykian zadykian requested a review from akokoshn April 28, 2025 10:20
Introduced a mechanism to synchronize finalized state root stored locally with the L1 and L2 networks.
Synchronization is triggered:

* By the new `stateRootSyncRunner` worker during Sync Committee node startup.
  It will retry syncing the state until it succeeds or execution is canceled.
* During full state reset (`StateResetLauncher.LaunchResetToL1WithSuspension(...)`).

Synchronization logic is determined by the `DisableL1` flag and implemented in the `stateRootSyncer` type
@zadykian zadykian added this pull request to the merge queue Apr 29, 2025
Merged via the queue into main with commit a18d483 Apr 29, 2025
16 checks passed
@zadykian zadykian deleted the sync-committee/l1-sync branch April 29, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants