mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-27 12:35:00 +00:00
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.runTester(chainDB, testStatusIMPL)
|
||||
|
||||
#latest_block_hash = chain.get_canonical_block_by_number(chain.get_block().number - 1).hash
|
||||
#if latest_block_hash != fixture['lastblockhash']:
|
||||
#verifyStateDB(fixture["postState"], vmState.readOnlyStateDB)
|
||||
let latestBlockHash = chainDB.getCanonicalHead().blockHash
|
||||
if latestBlockHash != tester.lastBlockHash:
|
||||
verifyStateDB(fixture["postState"], vmState.readOnlyStateDB)
|
||||
|
||||
proc main() =
|
||||
if paramCount() == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user