mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 19:19:21 +00:00
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…
x
Reference in New Issue
Block a user