|
105 | 105 | # at the commit currently checked out in submodule `fixtures`.
|
106 | 106 | # Ideally, this list should be empty.
|
107 | 107 | # WHEN ADDING ENTRIES, ALWAYS PROVIDE AN EXPLANATION!
|
| 108 | +# TODO: import from `py-evm` if possible |
108 | 109 | INCORRECT_UPSTREAM_TESTS = {
|
109 | 110 | # The test considers a "synthetic" scenario (the state described there can't
|
110 | 111 | # be arrived at using regular consensus rules).
|
|
113 | 114 | # * https://github.com/ethereum/py-evm/pull/1224#issuecomment-418800369
|
114 | 115 | ('GeneralStateTests/stRevertTest/RevertInCreateInInit_d0g0v0.json', 'RevertInCreateInInit_d0g0v0_Byzantium'), # noqa: E501
|
115 | 116 | ('GeneralStateTests/stRevertTest/RevertInCreateInInit_d0g0v0.json', 'RevertInCreateInInit_d0g0v0_Constantinople'), # noqa: E501
|
| 117 | + ('GeneralStateTests/stRevertTest/RevertInCreateInInit_d0g0v0.json', 'RevertInCreateInInit_d0g0v0_ConstantinopleFix'), # noqa: E501 |
116 | 118 |
|
117 | 119 | # The CREATE2 variant seems to have been derived from the one above - it, too,
|
118 | 120 | # has a "synthetic" state, on which py-evm flips.
|
119 | 121 | # * https://github.com/ethereum/py-evm/pull/1181#issuecomment-446330609
|
120 | 122 | ('GeneralStateTests/stCreate2/RevertInCreateInInitCreate2_d0g0v0.json', 'RevertInCreateInInitCreate2_d0g0v0_Constantinople'), # noqa: E501
|
| 123 | + ('GeneralStateTests/stCreate2/RevertInCreateInInitCreate2_d0g0v0.json', 'RevertInCreateInInitCreate2_d0g0v0_ConstantinopleFix'), # noqa: E501 |
121 | 124 |
|
122 | 125 | # Four variants have been specifically added to test a collision type
|
123 | 126 | # like the above; therefore, they fail in the same manner.
|
124 | 127 | # * https://github.com/ethereum/py-evm/pull/1579#issuecomment-446591118
|
125 |
| - # Interestingly, for py-evm - but not trinity! - |
126 |
| - # d2 passes in Constantinople after a refactor of storage handling. |
127 |
| - # The same test was already passing in ConstantinopleFix. |
128 |
| - # Since the situation is synthetic, not much research went into why, yet. |
| 128 | + # Interestingly, d2 passes in Constantinople after a py-evm refactor of storage handling, |
| 129 | + # the same test is already passing in ConstantinopleFix. Since the situation is synthetic, |
| 130 | + # not much research went into why, yet. |
129 | 131 | ('GeneralStateTests/stSStoreTest/InitCollision_d0g0v0.json', 'InitCollision_d0g0v0_Constantinople'), # noqa: E501
|
130 | 132 | ('GeneralStateTests/stSStoreTest/InitCollision_d1g0v0.json', 'InitCollision_d1g0v0_Constantinople'), # noqa: E501
|
131 | 133 | ('GeneralStateTests/stSStoreTest/InitCollision_d2g0v0.json', 'InitCollision_d2g0v0_Constantinople'), # noqa: E501
|
132 | 134 | ('GeneralStateTests/stSStoreTest/InitCollision_d3g0v0.json', 'InitCollision_d3g0v0_Constantinople'), # noqa: E501
|
| 135 | + ('GeneralStateTests/stSStoreTest/InitCollision_d0g0v0.json', 'InitCollision_d0g0v0_ConstantinopleFix'), # noqa: E501 |
| 136 | + ('GeneralStateTests/stSStoreTest/InitCollision_d1g0v0.json', 'InitCollision_d1g0v0_ConstantinopleFix'), # noqa: E501 |
| 137 | + ('GeneralStateTests/stSStoreTest/InitCollision_d3g0v0.json', 'InitCollision_d3g0v0_ConstantinopleFix'), # noqa: E501 |
133 | 138 | }
|
134 | 139 |
|
135 | 140 | RPC_STATE_NORMALIZERS = {
|
|
0 commit comments