op-node/rollup/derive: Investigate using a Peek/Discard io.Reader in BatchReader #10522
Labels
A-op-batcher
Area: op-batcher
T-protocol
Team: changes to node components (op-node, op-reth, etc.) implemented by go/rust/etc. devs
The
BatchReader
might be improved to save one buffered reader instantiation by receiving a reader withPeek
andDiscard
functions.It should be checked if this is feasible in all places where the
BatchReader
is used, and in this case do the change.Original Conversation:
Also, what if we passed the chainspec object to the batcher reader rather than flags like the limit + isFjord (edit: We need a to pass a "chain rules" object which contains these values for the pipeline origin).
Originally posted by @trianglesphere in #10358 (comment)
The text was updated successfully, but these errors were encountered: