Updated Understanding and debugging Nimbus EVM JSON tests (markdown)

zah 2018-09-25 02:01:24 +03:00
parent 3654ca0f12
commit 444d7694ba
1 changed files with 14 additions and 0 deletions

@ -2,6 +2,20 @@
The Nimbus JSON tests are taken from the [official Ethereum test suite](https://github.com/ethereum/tests). To find out more about the contents of this test suite, please refer to the [official documentation](https://ethereum-tests.readthedocs.io/en/latest/).
You can run all tests with `nimble test`. Based on our config, Nimble will write binaries to `build/` - you can do this manually also, as in the following examples:
Run example:
```bash
mkdir -p build
nim c -o:build/decompile_smart_contract -r examples/decompile_smart_contract.nim
```
Run Ethereum [JSON-based general state tests](https://github.com/ethereum/tests/):
```
mkdir -p build
nim c -o:build/test_generalstate_json -r --experimental:forLoopMacros tests/test_generalstate_json.nim
```
## VMTests
### JSON structure