Add test_vm_json instructions

This commit is contained in:
mratsim 2018-07-20 22:02:52 +02:00
parent 1602c8ca03
commit a226bab661
1 changed files with 12 additions and 0 deletions

View File

@ -35,6 +35,18 @@ nix-shell nimbus.nix
You can build the package and run the tests using `nimble test`. You can run the example using `nim compile --run examples/decompile_smart_contract.nim`. You can build the package and run the tests using `nimble test`. You can run the example using `nim compile --run examples/decompile_smart_contract.nim`.
You can run the official Ethereum JSON tests for the EVM this way:
create a `./build` directory with `mkdir build` in your cloned repository.
Run
```
nim c -r --nimcache:nimcache -o:build/test tests/test_vm_json.nim
```
The executable will be put in `build`, and nim compilation cache will use `nimcache`.
## License ## License
Licensed under one of the following: Licensed under one of the following: