Skip to content

Test BLOBHASH Opcode Contexts

Documentation for tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py@0c700940.

Generate fixtures for these test cases for Prague with:

fill -v tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py --fork Prague
Tests BLOBHASH opcode in EIP-4844: Shard Blob Transactions

Test case for BLOBHASH opcode calls across different contexts in EIP-4844: Shard Blob Transactions.

Test Functions Overview

Name Type Cases (Prague) Description
test_blobhash_opcode_contexts state_test 8 Tests that the BLOBHASH opcode functions correctly when called in different contexts.
test_blobhash_opcode_contexts_tx_types state_test 4 Tests that the BLOBHASH opcode functions correctly when called in different contexts.