test_create_initcode_stop_emits_log()¶
Documentation for tests/amsterdam/eip7708_eth_transfer_logs/test_transfer_logs.py::test_create_initcode_stop_emits_log@2119b382.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7708_eth_transfer_logs/test_transfer_logs.py::test_create_initcode_stop_emits_log --fork Amsterdam
Test that CREATE with initcode using STOP (no RETURN) emits transfer log.
When initcode runs STOP instead of RETURN, the contract is created with empty code. This is a successful CREATE, so transfer log should be emitted.
Source code in tests/amsterdam/eip7708_eth_transfer_logs/test_transfer_logs.py
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.