test_valid_blob_tx_combinations()¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_valid_blob_tx_combinations@c17999c0.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_valid_blob_tx_combinations --fork Amsterdam
Test all valid blob combinations in a single block, assuming a given value
of MAX_BLOBS_PER_BLOCK.
This assumes a block can include from 1 and up to MAX_BLOBS_PER_BLOCK
transactions where all transactions contain at least 1 blob, and the sum of
all blobs in a block is at most MAX_BLOBS_PER_BLOCK.
This test is parametrized with all valid blob transaction combinations for
a given block, and therefore if value of MAX_BLOBS_PER_BLOCK changes,
this test is automatically updated.
Source code in tests/cancun/eip4844_blobs/test_blob_txs.py
470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 | |
Parametrized Test Cases¶
This test generates 216 parametrized test cases across 4 forks.