optimism icon indicating copy to clipboard operation
optimism copied to clipboard

op-batcher/batcher: check txpool state in state publishing loop

Open roberto-bayardo opened this issue 5 months ago • 0 comments

Description

  • make state publishing loop abort if the txpool state is not good to prevent this loop from getting stuck due to blob and calldata transactions flip flopping and cancelling each other out.

  • protect txpool state vars with a mutex so they can be automically updated to avoid potential race condition.

Tests

Please describe any tests you've added. If you've added no tests, or left important behavior untested, please explain why not.

Additional context

Add any other context about the problem you're solving.

Metadata

  • Fixes #[Link to Issue]

roberto-bayardo avatar Aug 28 '24 22:08 roberto-bayardo