feat(op-node): Add alternative backup sync method via RPC#4807
feat(op-node): Add alternative backup sync method via RPC#4807
Conversation
|
|
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
4bbd2e2 to
6d0db76
Compare
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
ad528e7 to
d60a6c0
Compare
b9ab389 to
d36e74b
Compare
f0c4ee3 to
4a6897e
Compare
… exclusive (`[a, b)`) range
🧹 x2 Mark's nits pt. 1 Buffer `FetchUnsafeBlock` channel Bump channel size Don't rely on P2P to detect the gap; Test WIP Resolve conflicts Fix test 🧹, fix `op-node` PayloadQueue test after dedup change 🧹 Don't hardcode sequencer RPC port 🧹 `SystemConfig` hooks Attempt CI fix Force e2e setup to loop through nodes in alphabetical order Temp: Add Kelvin's CI fix
4a6897e to
d8a7d71
Compare
|
This PR has been added to the merge queue, and will be merged soon. |
|
Hey @clabby, this pull request failed to merge and has been dequeued from the merge train. If you believe your PR failed in the merge train because of a flaky test, requeue it by commenting with |
|
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |

Overview
Adds an alternative backup sync method via RPC to the
op-node.The new CLI flag,
l2.backup-unsafe-sync-rpc, feeds into the newsources.L2SyncEndpointSetup, which lives in the node config. This flag is optional- if it is not present, alternative sync will not be enabled.If the flag is set, a
sources.SyncClientis initialized alongside the driver, which spawns a new event loop that the driver's state loop can communicate back and forth with in order to fetch missing blocks from a backup RPC.Tests
op-e2e-TestSystemMockAltSyncTestPayloadsQueuein theop-nodeto account for thePayloadsQueuechanges.Metadata