Skip to content

Test BLOBHASH Opcode Contexts

Documentation for tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py@f6ab9733.

Generate fixtures for these test cases for Cancun with:

Cancun only:

fill -v tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py --fork=Cancun --evm-bin=/path/to/evm-tool-dev-version

For all forks up to and including Cancun:

fill -v tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py --until=Cancun

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 Description
test_blobhash_opcode_contexts blockchain_test 11 Tests that the BLOBHASH opcode functions correctly when called in different