juno icon indicating copy to clipboard operation
juno copied to clipboard

Separate L1 and L2 while syncing

Open joshklop opened this issue 2 years ago • 0 comments

The Problem Right now, we sync state from L1 and blocks/transactions/etc. from L2 in the same logic. This makes for an enormous Synchronizer object that encapsulates a myriad of unrelated dependencies. Cleanly separating L1 and L2 should make the sync process more modular.

Possible Solution Move the logic for L1 and L2 to separate packages, probably internal/sync/l1 and internal/sync/l2.

joshklop avatar Aug 03 '22 12:08 joshklop