test_blob_type_tx_pre_fork()¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_blob_type_tx_pre_fork@343274cc.
Generate fixtures for these test cases for Cancun with:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_blob_type_tx_pre_fork --fork Cancun
Reject blocks with blob type transactions before Cancun fork.
Blocks sent by NewPayloadV2 (Shanghai) that contain blob type transactions, furthermore blobs field within NewPayloadV2 method must be computed as INVALID, due to an invalid block hash.
Source code in tests/cancun/eip4844_blobs/test_blob_txs.py
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.