test_invalid_zero_excess_blob_gas_in_header()¶
Documentation for tests/cancun/eip4844_blobs/test_excess_blob_gas.py::test_invalid_zero_excess_blob_gas_in_header@e9958ed2.
Generate fixtures for these test cases for Osaka with:
fill -v tests/cancun/eip4844_blobs/test_excess_blob_gas.py::test_invalid_zero_excess_blob_gas_in_header --fork Osaka
Test rejection of blocks where the excessBlobGas in the header drops to
zero in a block with or without data blobs, but the excess blobs in the
parent are greater than target.
Source code in tests/cancun/eip4844_blobs/test_excess_blob_gas.py
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
| Test ID (Abbreviated) | parent_blobs | new_blobs | header_excess_blob_gas |
|---|---|---|---|
| ...fork_Cancun-parent_blobs_0-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 0 | 0 | 0 |
| ...fork_Cancun-parent_blobs_0-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 0 | 1 | 0 |
| ...fork_Cancun-parent_blobs_1-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 1 | 0 | 0 |
| ...fork_Cancun-parent_blobs_1-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 1 | 1 | 0 |
| ...fork_Cancun-parent_blobs_2-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 2 | 0 | 0 |
| ...fork_Cancun-parent_blobs_2-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 2 | 1 | 0 |
| ...fork_Cancun-parent_blobs_3-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 3 | 0 | 0 |
| ...fork_Cancun-parent_blobs_3-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 3 | 1 | 0 |
| ...fork_Cancun-parent_blobs_4-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 4 | 0 | 0 |
| ...fork_Cancun-parent_blobs_4-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 4 | 1 | 0 |
| ...fork_Cancun-parent_blobs_5-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 5 | 0 | 0 |
| ...fork_Cancun-parent_blobs_5-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 5 | 1 | 0 |
| ...fork_Cancun-parent_blobs_6-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 6 | 0 | 0 |
| ...fork_Cancun-parent_blobs_6-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 6 | 1 | 0 |
| ...fork_Prague-parent_blobs_0-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 0 | 0 | 0 |
| ...fork_Prague-parent_blobs_0-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 0 | 1 | 0 |
| ...fork_Prague-parent_blobs_1-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 1 | 0 | 0 |
| ...fork_Prague-parent_blobs_1-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 1 | 1 | 0 |
| ...fork_Prague-parent_blobs_2-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 2 | 0 | 0 |
| ...fork_Prague-parent_blobs_2-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 2 | 1 | 0 |
| ...fork_Prague-parent_blobs_3-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 3 | 0 | 0 |
| ...fork_Prague-parent_blobs_3-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 3 | 1 | 0 |
| ...fork_Prague-parent_blobs_4-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 4 | 0 | 0 |
| ...fork_Prague-parent_blobs_4-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 4 | 1 | 0 |
| ...fork_Prague-parent_blobs_5-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 5 | 0 | 0 |
| ...fork_Prague-parent_blobs_5-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 5 | 1 | 0 |
| ...fork_Prague-parent_blobs_6-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 6 | 0 | 0 |
| ...fork_Prague-parent_blobs_6-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 6 | 1 | 0 |
| ...fork_Prague-parent_blobs_7-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 7 | 0 | 0 |
| ...fork_Prague-parent_blobs_7-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 7 | 1 | 0 |
| ...fork_Prague-parent_blobs_8-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 8 | 0 | 0 |
| ...fork_Prague-parent_blobs_8-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 8 | 1 | 0 |
| ...fork_Prague-parent_blobs_9-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 9 | 0 | 0 |
| ...fork_Prague-parent_blobs_9-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 9 | 1 | 0 |
| ...fork_Osaka-parent_blobs_0-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 0 | 0 | 0 |
| ...fork_Osaka-parent_blobs_0-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 0 | 1 | 0 |
| ...fork_Osaka-parent_blobs_1-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 1 | 0 | 0 |
| ...fork_Osaka-parent_blobs_1-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 1 | 1 | 0 |
| ...fork_Osaka-parent_blobs_2-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 2 | 0 | 0 |
| ...fork_Osaka-parent_blobs_2-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 2 | 1 | 0 |
| ...fork_Osaka-parent_blobs_3-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 3 | 0 | 0 |
| ...fork_Osaka-parent_blobs_3-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 3 | 1 | 0 |
| ...fork_Osaka-parent_blobs_4-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 4 | 0 | 0 |
| ...fork_Osaka-parent_blobs_4-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 4 | 1 | 0 |
| ...fork_Osaka-parent_blobs_5-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 5 | 0 | 0 |
| ...fork_Osaka-parent_blobs_5-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 5 | 1 | 0 |
| ...fork_Osaka-parent_blobs_6-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 6 | 0 | 0 |
| ...fork_Osaka-parent_blobs_6-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 6 | 1 | 0 |
| ...fork_Osaka-parent_blobs_7-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 7 | 0 | 0 |
| ...fork_Osaka-parent_blobs_7-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 7 | 1 | 0 |
| ...fork_Osaka-parent_blobs_8-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 8 | 0 | 0 |
| ...fork_Osaka-parent_blobs_8-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 8 | 1 | 0 |
| ...fork_Osaka-parent_blobs_9-blockchain_test-new_blobs_0-header_excess_blob_gas_0 | 9 | 0 | 0 |
| ...fork_Osaka-parent_blobs_9-blockchain_test-new_blobs_1-header_excess_blob_gas_0 | 9 | 1 | 0 |