You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Motivation**
Finish implementing [EIP-7934](https://eips.ethereum.org/EIPS/eip-7934)
for the case of payload building.
**Description**
This pr includes a check of block size during building so it finishes
when surpassing the 10MiB cap introduced in EIP-7934 for Osaka.
Also, it updates the test runner to include the new exception.
To test if the cap is respected I launched a local net with the dora
service activated running `make localnet` and I used Dora to check the
proposed blocks by ethrex.
First I did this setting `MAX_RLP_BLOCK_SIZE = 1200`
And I could verify the blocks proposed by ethrex were all really small,
they only had three transactions.
Here an example with some logs I added:
Block 27 with its 3 transactions:
<img width="564" height="255" alt="Screenshot 2025-10-30 at 17 57 50"
src="https://github.com/user-attachments/assets/ecd7791b-7ffd-45ac-a81b-f21ca5afeb86"
/>
<img width="339" height="309" alt="Screenshot 2025-10-30 at 17 58 03"
src="https://github.com/user-attachments/assets/afd5648b-cdaf-4e39-b368-779d67fac195"
/>
Here in the logs we can see when these transactions were added and how
there was a forth one that didn't make it because it surpassed the rlp
size limit:
<img width="1029" height="516" alt="Screenshot 2025-10-30 at 18 31 05"
src="https://github.com/user-attachments/assets/97bb979c-8fb5-489d-aec8-6d82365ab7c5"
/>
I also dropped the cap to 800 bytes and in that case all block proposed
by ethrex were empty.
This pr also adds support for the local ef tests runner.
---------
Co-authored-by: cdiielsi <[email protected]>
Co-authored-by: Camila Di Ielsi <[email protected]>
0 commit comments