test_invalid_excess_blob_gas_above_target_change()¶
Documentation for tests/cancun/eip4844_blobs/test_excess_blob_gas.py::test_invalid_excess_blob_gas_above_target_change@88e9fb8f.
Generate fixtures for these test cases for Osaka with:
fill -v tests/cancun/eip4844_blobs/test_excess_blob_gas.py::test_invalid_excess_blob_gas_above_target_change --fork Osaka
Test rejection of blocks where the excessBlobGas.
- decreases more than
TARGET_BLOB_GAS_PER_BLOCKin a single block with zero blobs. - increases more than
TARGET_BLOB_GAS_PER_BLOCKin a single block with max blobs.
Source code in tests/cancun/eip4844_blobs/test_excess_blob_gas.py
524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
| Test ID (Abbreviated) | header_excess_blobs_delta | parent_blobs | new_blobs |
|---|---|---|---|
| ...fork_Cancun-zero_blobs_decrease_more_than_expected-blockchain_test-new_blobs_1 | -1 | 0 | 1 |
| ...fork_Cancun-max_blobs_increase_more_than_expected-blockchain_test-new_blobs_1 | 1 | 6 | 1 |
| ...fork_Prague-zero_blobs_decrease_more_than_expected-blockchain_test-new_blobs_1 | -1 | 0 | 1 |
| ...fork_Prague-max_blobs_increase_more_than_expected-blockchain_test-new_blobs_1 | 1 | 9 | 1 |
| ...fork_Osaka-zero_blobs_decrease_more_than_expected-blockchain_test-new_blobs_1 | -1 | 0 | 1 |
| ...fork_Osaka-max_blobs_increase_more_than_expected-blockchain_test-new_blobs_1 | 1 | 9 | 1 |