test_blobhash_opcode_contexts_tx_types()¶
Documentation for tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py::test_blobhash_opcode_contexts_tx_types@88e9fb8f.
Generate fixtures for these test cases for Osaka with:
fill -v tests/cancun/eip4844_blobs/test_blobhash_opcode_contexts.py::test_blobhash_opcode_contexts_tx_types --fork Osaka
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
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
| Test ID (Abbreviated) | tx_type |
|---|---|
| ...fork_Cancun-tx_type_2-state_test | 2 |
| ...fork_Cancun-tx_type_2-blockchain_test_from_state_test | 2 |
| ...fork_Cancun-tx_type_1-state_test | 1 |
| ...fork_Cancun-tx_type_1-blockchain_test_from_state_test | 1 |
| ...fork_Cancun-tx_type_0-state_test | 0 |
| ...fork_Cancun-tx_type_0-blockchain_test_from_state_test | 0 |
| ...fork_Prague-tx_type_4-state_test | 4 |
| ...fork_Prague-tx_type_4-blockchain_test_from_state_test | 4 |
| ...fork_Prague-tx_type_2-state_test | 2 |
| ...fork_Prague-tx_type_2-blockchain_test_from_state_test | 2 |
| ...fork_Prague-tx_type_1-state_test | 1 |
| ...fork_Prague-tx_type_1-blockchain_test_from_state_test | 1 |
| ...fork_Prague-tx_type_0-state_test | 0 |
| ...fork_Prague-tx_type_0-blockchain_test_from_state_test | 0 |
| ...fork_Osaka-tx_type_4-state_test | 4 |
| ...fork_Osaka-tx_type_4-blockchain_test_from_state_test | 4 |
| ...fork_Osaka-tx_type_2-state_test | 2 |
| ...fork_Osaka-tx_type_2-blockchain_test_from_state_test | 2 |
| ...fork_Osaka-tx_type_1-state_test | 1 |
| ...fork_Osaka-tx_type_1-blockchain_test_from_state_test | 1 |
| ...fork_Osaka-tx_type_0-state_test | 0 |
| ...fork_Osaka-tx_type_0-blockchain_test_from_state_test | 0 |