|
|
@ -135,12 +135,11 @@ export class VmProxy { |
|
|
|
this.storageCache[this.processingHash] = {} |
|
|
|
this.storageCache[this.processingHash] = {} |
|
|
|
this.storageCache['after_' + this.processingHash] = {} |
|
|
|
this.storageCache['after_' + this.processingHash] = {} |
|
|
|
if (data.to) { |
|
|
|
if (data.to) { |
|
|
|
try { |
|
|
|
((processingHash, processingAccount, processingAddress, self) => { |
|
|
|
const storage = await this.stateCopy.dumpStorage(data.to) |
|
|
|
self.stateCopy.dumpStorage(processingAccount).then((storage) => { |
|
|
|
this.storageCache[this.processingHash][tx['to']] = storage |
|
|
|
self.storageCache[processingHash][processingAddress] = storage |
|
|
|
} catch (e) { |
|
|
|
}).catch(console.log)
|
|
|
|
console.log(e) |
|
|
|
})(this.processingHash, data.to, tx['to'], this)
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
this.processingIndex = 0 |
|
|
|
this.processingIndex = 0 |
|
|
|
} |
|
|
|
} |
|
|
|