Skip to content

Test Excess Blob Gas Fork Transition

Documentation for tests/cancun/eip4844_blobs/test_excess_blob_gas_fork_transition.py@206854b5.

Generate fixtures for these test cases for Prague with:

fill -v tests/cancun/eip4844_blobs/test_excess_blob_gas_fork_transition.py --fork Prague
Tests excessBlobGas and blobGasUsed block fields for EIP-4844: Shard Blob Transactions at fork transition.

Test excessBlobGas and blobGasUsed block fields for EIP-4844: Shard Blob Transactions at fork transition.

Test Functions Overview

Name Type Cases (Prague) Description
test_invalid_pre_fork_block_with_blob_fields blockchain_test 0 Test block rejection when excessBlobGas and/or blobGasUsed fields are present on a pre-fork
test_invalid_post_fork_block_without_blob_fields blockchain_test 0 Test block rejection when excessBlobGas and/or blobGasUsed fields are missing on a
test_fork_transition_excess_blob_gas blockchain_test 0 Test excessBlobGas calculation in the header when the fork is activated.