[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Conversation

geoknee
Copy link
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 added this pull request to the merge queue Sep 25, 2024
Merged via the queue into develop with commit 616a078 Sep 25, 2024
64 checks passed
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants