fix macro_assembler -> add call to acounts_cache.persist
This commit is contained in:
parent
844071033a
commit
8ee0ab4e89
|
@ -301,8 +301,10 @@ proc runVM*(blockNumber: Uint256, chainDB: BaseChainDB, boa: Assembler): bool =
|
|||
error "different memory value", idx=i, expected=mem, actual=actual
|
||||
return false
|
||||
|
||||
var stateDB = computation.vmState.accountDb
|
||||
stateDB.persist()
|
||||
|
||||
var
|
||||
stateDB = computation.vmState.accountDb
|
||||
storageRoot = stateDB.getStorageRoot(computation.msg.contractAddress)
|
||||
trie = initSecureHexaryTrie(chainDB.db, storageRoot)
|
||||
|
||||
|
|
|
@ -840,3 +840,6 @@ proc opMemoryMain*() =
|
|||
"0x00"
|
||||
"0x00"
|
||||
"0x0000000000000000000000000000002000000000000000000000000000000000"
|
||||
|
||||
when isMainModule:
|
||||
opMemoryMain()
|
||||
|
|
Loading…
Reference in New Issue