diff --git a/Understanding-and-debugging-Nimbus-EVM-JSON-tests.md b/Understanding-and-debugging-Nimbus-EVM-JSON-tests.md index 67a03e5..df08b29 100644 --- a/Understanding-and-debugging-Nimbus-EVM-JSON-tests.md +++ b/Understanding-and-debugging-Nimbus-EVM-JSON-tests.md @@ -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