activates verifyStateDB
This commit is contained in:
parent
7c65b8a2b2
commit
49a6f84ac9
|
@ -345,9 +345,9 @@ proc testFixture(node: JsonNode, testStatusIMPL: var TestStatus, debugMode = fal
|
||||||
tester.debugMode = debugMode
|
tester.debugMode = debugMode
|
||||||
tester.runTester(chainDB, testStatusIMPL)
|
tester.runTester(chainDB, testStatusIMPL)
|
||||||
|
|
||||||
#latest_block_hash = chain.get_canonical_block_by_number(chain.get_block().number - 1).hash
|
let latestBlockHash = chainDB.getCanonicalHead().blockHash
|
||||||
#if latest_block_hash != fixture['lastblockhash']:
|
if latestBlockHash != tester.lastBlockHash:
|
||||||
#verifyStateDB(fixture["postState"], vmState.readOnlyStateDB)
|
verifyStateDB(fixture["postState"], vmState.readOnlyStateDB)
|
||||||
|
|
||||||
proc main() =
|
proc main() =
|
||||||
if paramCount() == 0:
|
if paramCount() == 0:
|
||||||
|
|
Loading…
Reference in New Issue