test_create_preimage_layout_address()¶
Documentation for tests/frontier/create/test_create_preimage_layout.py::test_create_preimage_layout_address@b314d18e.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/frontier/create/test_create_preimage_layout.py::test_create_preimage_layout_address --fork Amsterdam
Test CreatePreimageLayout by executing the bytecode in the EVM
and verifying the computed address matches compute_create_address.
The nonce is passed via calldata and RLP-encoded at EVM runtime using the CLZ-based branch-free path.
Source code in tests/frontier/create/test_create_preimage_layout.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | |
Parametrized Test Cases¶
This test generates 9 parametrized test cases across 2 forks.