mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 13:55:45 +00:00
implement post error check in test_vm_json
This commit is contained in:
parent
17c95f3f82
commit
cd1778d498
@ -91,7 +91,7 @@ proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) =
|
||||
if not fixture{"post"}.isNil:
|
||||
verifyStateDb(fixture{"post"}, computation.vmState.readOnlyStateDB)
|
||||
else:
|
||||
# Error checks
|
||||
check(computation.isError)
|
||||
# TODO postState = fixture{"pre"}
|
||||
|
||||
# Error checks
|
||||
check(computation.isError)
|
||||
if not fixture{"pre"}.isNil:
|
||||
verifyStateDb(fixture{"pre"}, computation.vmState.readOnlyStateDB)
|
||||
|
Loading…
x
Reference in New Issue
Block a user