mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 21:34:33 +00:00
add whenIsMainModule to test_tracer_json
This commit is contained in:
parent
18eb255758
commit
349d033d05
@ -45,3 +45,6 @@ proc testFixture(node: JsonNode, testStatusIMPL: var TestStatus) =
|
||||
let receipt = receipts[i]
|
||||
let stateDiff = txTraces[i]["stateDiff"]
|
||||
check receipt["root"].getStr().toLowerAscii() == stateDiff["afterRoot"].getStr().toLowerAscii()
|
||||
|
||||
when isMainModule:
|
||||
tracerJsonMain()
|
||||
|
Loading…
x
Reference in New Issue
Block a user