-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Description
Is your feature request related to a problem? Please describe.
we observe the following problem:
- when
batcheris running with considerable--max-channel-duration, for example50(equivalent of10m), it will publish l2 information on l1 (most of time) at those intervals. op-noderunning in sequencer mode reads the above updates at said intervals, and advances the safe head accordingly.- currently it does it in sequential manner, block by block.
- in other words, for channel duration of
50(10m) and l2 block time of1s, sequencer will send~600FCU messages in a row to its EL. - this happens in the span of 1-3s, which creates a congestion in the network connection b/w sequencer and the EL.
- in the sense that the "block-building" FCU message (with extra param) would be sent by the sequencer among the bulk of other FCUs (advancing the safe head), and processes by the EL in sequence, which could result in the interval between "block-building" FCU and consecutive getPayload call being significantly less than usual
- we saw cases where the gap was on the scale of 10ms vs. the usual 950ms
- or even worse when FCU would be delivered after the typical timestamp-offset of the getPayload calls
- in the sense that the "block-building" FCU message (with extra param) would be sent by the sequencer among the bulk of other FCUs (advancing the safe head), and processes by the EL in sequence, which could result in the interval between "block-building" FCU and consecutive getPayload call being significantly less than usual
- in other words, for channel duration of
Describe the solution you'd like
would it be possible for the op-node sequencer, instead of advancing safe head step-by-step, just do it once?
e.g. by going through the whole batch published on l1 and then sending only the last derived safe head in 1 FCU message?
emiliano-conduitxyz
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status