Skip to content

op-batcher: prevent over-assessment of DA type#12115

Merged
geoknee merged 3 commits intodevelopfrom
gk/batcher-tweak
Sep 25, 2024
Merged

op-batcher: prevent over-assessment of DA type#12115
geoknee merged 3 commits intodevelopfrom
gk/batcher-tweak

Conversation

@geoknee
Copy link
Copy Markdown
Contributor

@geoknee geoknee commented Sep 25, 2024

When rolling out #12002 I noticed a significant increase in logs, the batcher is reassessing DA type on every tick due to a bug.

This PR adds a test which fails under the current implementation, and then a fix for the above issue.

@geoknee geoknee requested review from a team as code owners September 25, 2024 17:34
@geoknee geoknee requested a review from sebastianst September 25, 2024 17:34
@geoknee geoknee added this pull request to the merge queue Sep 25, 2024
Merged via the queue into develop with commit 616a078 Sep 25, 2024
@geoknee geoknee deleted the gk/batcher-tweak branch September 25, 2024 18:34
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
* test: assert that default config doesn't change prematurely

* test: use a better system to ensure we are not over assessing

* return io.EOF from getReadyChannel

when the current channel has no tx data

also improve godoc
@geoknee geoknee added the A-op-batcher Area: op-batcher label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-op-batcher Area: op-batcher

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants