add tracing to individual Nimbus test example

Ștefan Talpalaru 2018-12-07 14:06:39 +01:00
parent 24fd947c93
commit 25003b9468
1 changed files with 3 additions and 3 deletions

@ -13,12 +13,12 @@ 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 tests/test_generalstate_json.nim
nim c -r -o:build/test_generalstate_json tests/test_generalstate_json.nim
```
Build and run an individual test:
Build and run an individual test (with tracing enabled):
```
nim c -o:build/test_generalstate_json -r tests/test_generalstate_json.nim tests/fixtures/GeneralStateTests/stAttackTest/ContractCreationSpam.json
nim c -r -d:chronicles_log_level=TRACE -o:build/test_generalstate_json tests/test_generalstate_json.nim tests/fixtures/GeneralStateTests/stAttackTest/ContractCreationSpam.json
```
## VMTests