Skip to content

eest_tests sends blocks with too much gas #60

@siladu

Description

@siladu

The eest_test files go up to 150M gas block tests, however for SELFDESTRUCT, SSTORE and SSLOAD we are seeing much bigger blocks.

I added timestamps to gas-benchmarks logs to cross reference with the Besu logs, which show the gas used by the block.

e.g. SELFDESTRUCT cases send up to 650MGas instead of 150MGas blocks:

< [2025-09-17 21:11:50.879] Running besu for the 1 time with test case eest_tests/tests_benchmark_test_worst_stateful_opcodes.py__test_worst_selfdestruct_existing[fork_Prague-benchmark-blockchain_test_engine_x-value_bearing_False]-
gas-value_100M.txt
> 2025-09-17 21:12:02.809+0000 | vert.x-worker-thread-0 | INFO  | AbstractEngineNewPayload | Imported #1  (210f3.....e1622)|    1 tx|  0 ws|  0 blobs|      7 wei bfee| 
434,787,335 (  0.0%) gas used| 11.658s exec|  37.30 Mgas/s|  0 peers

< [2025-09-17 21:12:02.923] Running besu for the 1 time with test case eest_tests/tests_benchmark_test_worst_stateful_opcodes.py__test_worst_selfdestruct_existing[fork_Prague-benchmark-blockchain_test_engine_x-value_bearing_False]-
gas-value_10M.txt
> 2025-09-17 21:12:03.432+0000 | vert.x-worker-thread-0 | INFO  | AbstractEngineNewPayload | Imported #1  (a0e84.....5aaaf)|    1 tx|  0 ws|  0 blobs|      7 wei bfee|  
43,393,301 (  0.0%) gas used| 0.243s exec| 178.57 Mgas/s|  0 peers

< [2025-09-17 21:12:03.544] Running besu for the 1 time with test case eest_tests/tests_benchmark_test_worst_stateful_opcodes.py__test_worst_selfdestruct_existing[fork_Prague-benchmark-
blockchain_test_engine_x-value_bearing_False]-
gas-value_150M.txt
> 2025-09-17 21:12:30.265+0000 | vert.x-worker-thread-0 | INFO  | AbstractEngineNewPayload | Imported #1  (6c673.....6006a)|    1 tx|  0 ws|  0 blobs|      7 wei bfee| 
652,239,656 (  0.1%) gas used| 26.448s exec|  24.66 Mgas/s|  0 peers

< [2025-09-17 21:12:30.380] Running besu for the 1 time with test case eest_tests/tests_benchmark_test_worst_stateful_opcodes.py__test_worst_selfdestruct_existing[fork_Prague-benchmark-blockchain_test_engine_x-value_bearing_False]-
gas-value_30M.txt
> 2025-09-17 21:12:32.194+0000 | vert.x-worker-thread-0 | INFO  | AbstractEngineNewPayload | Imported #1  (8e22d.....2362d)|    1 tx|  0 ws|  0 blobs|      7 wei bfee| 
130,380,944 (  0.0%) gas used| 1.544s exec|  84.44 Mgas/s|  0 peers

< [2025-09-17 21:12:32.304] Running besu for the 1 time with test case eest_tests/tests_benchmark_test_worst_stateful_opcodes.py__test_worst_selfdestruct_existing[fork_Prague-benchmark-blockchain_test_engine_x-value_bearing_False]-
gas-value_45M.txt
> 2025-09-17 21:12:35.432+0000 | vert.x-worker-thread-0 | INFO  | AbstractEngineNewPayload | Imported #1  (d5b18.....bdc7e)|    1 tx|  0 ws|  0 blobs|      7 wei bfee| 
195,613,283 (  0.0%) gas used| 2.851s exec|  68.61 Mgas/s|  0 peers

< [2025-09-17 21:12:35.542] Running besu for the 1 time with test case eest_tests/tests_benchmark_test_worst_stateful_opcodes.py__test_worst_selfdestruct_existing[fork_Prague-benchmark-blockchain_test_engine_x-value_bearing_False]-
gas-value_60M.txt
> 2025-09-17 21:12:40.478+0000 | vert.x-worker-thread-0 | INFO  | AbstractEngineNewPayload | Imported #1  (a10ed.....631f5)|    1 tx|  0 ws|  0 blobs|      7 wei bfee| 
260,845,622 (  0.0%) gas used| 4.670s exec|  55.86 Mgas/s|  0 peers

This appears to lead to a miscalculation in the final report, since in this case Besu is calculated as having ~5 MGas/s min throughput whereas the real min is 24.66 Mgas/s according to our logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions