test_recreate()¶
Documentation for tests/constantinople/eip1014_create2/test_recreate.py::test_recreate@88e9fb8f.
Generate fixtures for these test cases for Osaka with:
fill -v tests/constantinople/eip1014_create2/test_recreate.py::test_recreate --fork Osaka
Test that the storage is cleared when a contract is first destructed then re-created using CREATE2.
Source code in tests/constantinople/eip1014_create2/test_recreate.py
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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
Parametrized Test Cases¶
This test case is only parametrized by fork.
| Test ID (Abbreviated) | recreate_on_separate_block |
|---|---|
| ...fork_Constantinople-blockchain_test-recreate_on_separate_block_True | True |
| ...fork_Constantinople-blockchain_test-recreate_on_separate_block_False | False |
| ...fork_ConstantinopleFix-blockchain_test-recreate_on_separate_block_True | True |
| ...fork_ConstantinopleFix-blockchain_test-recreate_on_separate_block_False | False |
| ...fork_Istanbul-blockchain_test-recreate_on_separate_block_True | True |
| ...fork_Istanbul-blockchain_test-recreate_on_separate_block_False | False |
| ...fork_Berlin-blockchain_test-recreate_on_separate_block_True | True |
| ...fork_Berlin-blockchain_test-recreate_on_separate_block_False | False |
| ...fork_London-blockchain_test-recreate_on_separate_block_True | True |
| ...fork_London-blockchain_test-recreate_on_separate_block_False | False |
| ...fork_Paris-blockchain_test-recreate_on_separate_block_True | True |
| ...fork_Paris-blockchain_test-recreate_on_separate_block_False | False |
| ...fork_Shanghai-blockchain_test-recreate_on_separate_block_True | True |
| ...fork_Shanghai-blockchain_test-recreate_on_separate_block_False | False |