test_block_hashes_call_opcodes()
¶
Documentation for tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py::test_block_hashes_call_opcodes@44293f1e
.
Generate fixtures for these test cases for Prague with:
fill -v tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py::test_block_hashes_call_opcodes --fork Prague
Test that the call opcodes can be used to call the history contract and get the block hashes.
Source code in tests/prague/eip2935_historical_block_hashes_from_state/test_block_hashes.py
318 319 320 321 322 323 324 325 326 327 328 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 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | call_opcode | evm_code_type |
---|---|---|
...fork_Prague-call_opcode_STATICCALL-evm_code_type_LEGACY-blockchain_test | STATICCALL | LEGACY |
...fork_Prague-call_opcode_DELEGATECALL-evm_code_type_LEGACY-blockchain_test | DELEGATECALL | LEGACY |
...fork_Prague-call_opcode_CALL-evm_code_type_LEGACY-blockchain_test | CALL | LEGACY |
...fork_Prague-call_opcode_CALLCODE-evm_code_type_LEGACY-blockchain_test | CALLCODE | LEGACY |
...fork_Osaka-call_opcode_STATICCALL-evm_code_type_LEGACY-blockchain_test | STATICCALL | LEGACY |
...fork_Osaka-call_opcode_DELEGATECALL-evm_code_type_LEGACY-blockchain_test | DELEGATECALL | LEGACY |
...fork_Osaka-call_opcode_CALL-evm_code_type_LEGACY-blockchain_test | CALL | LEGACY |
...fork_Osaka-call_opcode_CALLCODE-evm_code_type_LEGACY-blockchain_test | CALLCODE | LEGACY |