Test Blobhash Opcode Contexts¶
Documentation for tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py.
Generate fixtures for these test cases with:
fill -v tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py
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_blobhash_opcode_contexts(opcode_context, blockchain_test)
¶
Tests that the BLOBHASH opcode functions correctly when called in different
contexts including:
BLOBHASHopcode on the top level of the call stack.BLOBHASHopcode on the max value.BLOBHASHopcode onCALL,DELEGATECALL,STATICCALL, andCALLCODE.BLOBHASHopcode on Initcode.BLOBHASHopcode onCREATEandCREATE2.BLOBHASHopcode on transaction types 0, 1 and 2.
Source code in tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | |