Skip to content

Commit 1b781ae

Browse files
committed
pursuant to discussion in ethereum/tests#444 refactor tests to not require special-cased codepaths for a VMTest mode by allowing BLOCKHASH-dependent tests to live where actual blockchain state is provided by fixture
1 parent 1921f9b commit 1b781ae

8 files changed

Lines changed: 1 addition & 354 deletions

File tree

VMTests.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -265,20 +265,13 @@ OK: 195/195 Fail: 0/195 Skip: 0/195
265265
OK: 60/60 Fail: 0/60 Skip: 0/60
266266
## vmBlockInfoTest
267267
```diff
268-
+ blockhash257Block.json OK
269-
+ blockhash258Block.json OK
270-
- blockhashInRange.json Fail
271-
+ blockhashMyBlock.json OK
272-
+ blockhashNotExistingBlock.json OK
273-
+ blockhashOutOfRange.json OK
274-
+ blockhashUnderFlow.json OK
275268
+ coinbase.json OK
276269
+ difficulty.json OK
277270
+ gaslimit.json OK
278271
+ number.json OK
279272
+ timestamp.json OK
280273
```
281-
OK: 11/12 Fail: 1/12 Skip: 0/12
274+
OK: 5/5 Fail: 0/5 Skip: 0/5
282275
## vmEnvironmentalInfo
283276
```diff
284277
+ ExtCodeSizeAddressInputTooBigLeftMyAddress.json OK

tests/fixtures/VMTests/vmBlockInfoTest/blockhash257Block.json

Lines changed: 0 additions & 51 deletions
This file was deleted.

tests/fixtures/VMTests/vmBlockInfoTest/blockhash258Block.json

Lines changed: 0 additions & 51 deletions
This file was deleted.

tests/fixtures/VMTests/vmBlockInfoTest/blockhashInRange.json

Lines changed: 0 additions & 54 deletions
This file was deleted.

tests/fixtures/VMTests/vmBlockInfoTest/blockhashMyBlock.json

Lines changed: 0 additions & 51 deletions
This file was deleted.

tests/fixtures/VMTests/vmBlockInfoTest/blockhashNotExistingBlock.json

Lines changed: 0 additions & 51 deletions
This file was deleted.

tests/fixtures/VMTests/vmBlockInfoTest/blockhashOutOfRange.json

Lines changed: 0 additions & 51 deletions
This file was deleted.

tests/fixtures/VMTests/vmBlockInfoTest/blockhashUnderFlow.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)