Updated Understanding and debugging Nimbus EVM JSON tests (markdown)
parent
3654ca0f12
commit
444d7694ba
|
@ -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/).
|
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
|
## VMTests
|
||||||
|
|
||||||
### JSON structure
|
### JSON structure
|
||||||
|
|
Loading…
Reference in New Issue