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