test_blobhash_opcode_contexts_tx_types()¶
Documentation for tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py::test_blobhash_opcode_contexts_tx_types@892e6d1e.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py::test_blobhash_opcode_contexts_tx_types --fork Amsterdam
Tests that the BLOBHASH opcode functions correctly when called in
different contexts.
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
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 | |
Parametrized Test Cases¶
This test generates 4 parametrized test cases across 4 forks.