|
16 | 16 | REFERENCE_SPEC_VERSION = ref_spec_1153.version |
17 | 17 |
|
18 | 18 |
|
| 19 | +@pytest.mark.ported_from( |
| 20 | + [ |
| 21 | + "https://github.com/ethereum/tests/blob/v13.3/src/GeneralStateTestsFiller/Cancun/stEIP1153-transientStorage/01_tloadBeginningTxnFiller.yml", |
| 22 | + ], |
| 23 | + pr=["https://github.com/ethereum/execution-spec-tests/pull/440"], |
| 24 | +) |
19 | 25 | @pytest.mark.valid_from("Cancun") |
20 | 26 | def test_basic_tload_transaction_begin( |
21 | 27 | state_test: StateTestFiller, |
@@ -61,6 +67,12 @@ def test_basic_tload_transaction_begin( |
61 | 67 | state_test(env=Environment(), pre=pre, post=post, tx=tx) |
62 | 68 |
|
63 | 69 |
|
| 70 | +@pytest.mark.ported_from( |
| 71 | + [ |
| 72 | + "https://github.com/ethereum/tests/blob/v13.3/src/GeneralStateTestsFiller/Cancun/stEIP1153-transientStorage/02_tloadAfterTstoreFiller.yml", |
| 73 | + ], |
| 74 | + pr=["https://github.com/ethereum/execution-spec-tests/pull/440"], |
| 75 | +) |
64 | 76 | @pytest.mark.valid_from("Cancun") |
65 | 77 | def test_basic_tload_works( |
66 | 78 | state_test: StateTestFiller, |
@@ -113,6 +125,12 @@ def test_basic_tload_works( |
113 | 125 | state_test(env=Environment(), pre=pre, post=post, tx=tx) |
114 | 126 |
|
115 | 127 |
|
| 128 | +@pytest.mark.ported_from( |
| 129 | + [ |
| 130 | + "https://github.com/ethereum/tests/blob/v13.3/src/GeneralStateTestsFiller/Cancun/stEIP1153-transientStorage/03_tloadAfterStoreIs0Filler.yml", |
| 131 | + ], |
| 132 | + pr=["https://github.com/ethereum/execution-spec-tests/pull/440"], |
| 133 | +) |
116 | 134 | @pytest.mark.valid_from("Cancun") |
117 | 135 | def test_basic_tload_other_after_tstore( |
118 | 136 | state_test: StateTestFiller, |
@@ -161,6 +179,12 @@ def test_basic_tload_other_after_tstore( |
161 | 179 | state_test(env=Environment(), pre=pre, post=post, tx=tx) |
162 | 180 |
|
163 | 181 |
|
| 182 | +@pytest.mark.ported_from( |
| 183 | + [ |
| 184 | + "https://github.com/ethereum/tests/blob/v13.3/src/GeneralStateTestsFiller/Cancun/stEIP1153-transientStorage/16_tloadGasFiller.yml", |
| 185 | + ], |
| 186 | + pr=["https://github.com/ethereum/execution-spec-tests/pull/440"], |
| 187 | +) |
164 | 188 | @pytest.mark.valid_from("Cancun") |
165 | 189 | def test_basic_tload_gasprice( |
166 | 190 | state_test: StateTestFiller, |
@@ -239,6 +263,12 @@ def test_basic_tload_gasprice( |
239 | 263 | state_test(env=Environment(), pre=pre, post=post, tx=tx) |
240 | 264 |
|
241 | 265 |
|
| 266 | +@pytest.mark.ported_from( |
| 267 | + [ |
| 268 | + "https://github.com/ethereum/tests/blob/v13.3/src/GeneralStateTestsFiller/Cancun/stEIP1153-transientStorage/18_tloadAfterStoreFiller.yml", |
| 269 | + ], |
| 270 | + pr=["https://github.com/ethereum/execution-spec-tests/pull/440"], |
| 271 | +) |
242 | 272 | @pytest.mark.valid_from("Cancun") |
243 | 273 | def test_basic_tload_after_store( |
244 | 274 | state_test: StateTestFiller, |
|
0 commit comments