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: exit building loop early if there's not enough DA capacity #439

Conversation

roberto-bayardo
Copy link
Contributor

Description

Minor optimization:

If there is not enough DA capacity remaining in the block being built to support a minimum sized transaction, then block building can exit early.

Context

We see the DA filtering log line being triggered frequently due to this situation in Base mainnet logs.

@roberto-bayardo roberto-bayardo marked this pull request as ready for review November 30, 2024 01:16
@roberto-bayardo roberto-bayardo requested a review from a team as a code owner November 30, 2024 01:16
@roberto-bayardo roberto-bayardo changed the title exit building loop early if there's not enough DA capacity op-batcher: exit building loop early if there's not enough DA capacity Dec 2, 2024
miner/worker.go Outdated Show resolved Hide resolved
@sebastianst sebastianst enabled auto-merge (squash) December 2, 2024 16:25
@sebastianst sebastianst merged commit 0a46245 into ethereum-optimism:optimism Dec 2, 2024
4 of 5 checks passed
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