Skip to content

op-node: single aggregate safe-head advancement FCU message per channel #15393

@0x416e746f6e

Description

@0x416e746f6e

Is your feature request related to a problem? Please describe.

we observe the following problem:

  • when batcher is running with considerable --max-channel-duration, for example 50 (equivalent of 10m), it will publish l2 information on l1 (most of time) at those intervals.
  • op-node running 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 of 1s, sequencer will send ~600 FCU 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

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions