Skip to content

Conversation

@SDartayet
Copy link
Contributor

@SDartayet SDartayet commented Nov 11, 2025

Motivation

Properly complying with the block building spec.

Description

As outlined in #4997, we should be bulding an initial empty block before filling it with transactions. This PR fixes that, while making the appropriate changes to devnet to avoid the issues caused in #5205

Closes #4997

@github-actions github-actions bot added the L1 Ethereum client label Nov 11, 2025
@SDartayet SDartayet changed the title feat(l1): build initial empty block in block building feat(l1,l 2): build initial empty block in block building Nov 11, 2025
@github-actions
Copy link

github-actions bot commented Nov 11, 2025

Lines of code report

Total lines added: 14
Total lines removed: 0
Total lines changed: 14

Detailed view
+------------------------------------------------+-------+------+
| File                                           | Lines | Diff |
+------------------------------------------------+-------+------+
| ethrex/crates/blockchain/dev/block_producer.rs | 118   | +1   |
+------------------------------------------------+-------+------+
| ethrex/crates/blockchain/payload.rs            | 688   | +12  |
+------------------------------------------------+-------+------+
| ethrex/tooling/reorgs/src/simulator.rs         | 466   | +1   |
+------------------------------------------------+-------+------+

@SDartayet SDartayet changed the title feat(l1,l 2): build initial empty block in block building feat(l1, l2): build initial empty block in block building Nov 11, 2025
@github-actions github-actions bot added the L2 Rollup client label Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client L2 Rollup client

Projects

Status: No status
Status: No status

Development

Successfully merging this pull request may close these issues.

Start block building process with an empty block

2 participants