Skip to content

Conversation

@gianbelinche
Copy link
Contributor

@gianbelinche gianbelinche commented Nov 13, 2025

Motivation
This change made the integration tests took longer, having to amp the amount of retries.

Description
Reverts this change and adds an issue for solving it.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts a previous change that caused integration tests to run longer and require more retries. The change replaces a break statement with txs.pop(); continue; when the privileged transaction budget is reached, allowing the block producer to continue processing other transactions instead of stopping entirely.

  • Reverted logic from breaking to continuing when privileged transaction budget is reached
  • Added an issue reference for properly addressing the underlying problem later

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Lines of code report

Total lines added: 1
Total lines removed: 0
Total lines changed: 1

Detailed view
+--------------------------------------------------------------+-------+------+
| File                                                         | Lines | Diff |
+--------------------------------------------------------------+-------+------+
| ethrex/crates/l2/sequencer/block_producer/payload_builder.rs | 195   | +1   |
+--------------------------------------------------------------+-------+------+

@ManuelBilbao ManuelBilbao added this pull request to the merge queue Nov 13, 2025
Merged via the queue into main with commit e7f1385 Nov 13, 2025
38 checks passed
@ManuelBilbao ManuelBilbao deleted the revert-break-priv-budget branch November 13, 2025 19:32
lakshya-sky pushed a commit to lakshya-sky/ethrex that referenced this pull request Nov 17, 2025
…ambdaclass#5326)

**Motivation**

[This](lambdaclass#5135 (comment))
change made the integration tests took longer, having to amp the amount
of retries.
<!-- Why does this pull request exist? What are its goals? -->

**Description**
Reverts this change and adds an
[issue](lambdaclass#5325) for solving
it.
<!-- A clear and concise general description of the changes this PR
introduces -->

<!-- Link to issues: Resolves lambdaclass#111, Resolves lambdaclass#222 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L2 Rollup client

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants