|
|
@ -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 |
|
|
|
} |
|
|
|
} |
|
|
@ -265,7 +264,7 @@ export class VmProxy { |
|
|
|
self.stateCopy.dumpStorage(account).then((storage) => { |
|
|
|
self.stateCopy.dumpStorage(account).then((storage) => { |
|
|
|
self.storageCache[processingHash][processingAddress] = storage |
|
|
|
self.storageCache[processingHash][processingAddress] = storage |
|
|
|
}).catch(console.log)
|
|
|
|
}).catch(console.log)
|
|
|
|
})(this.processingHash, this.processingAddress, this)
|
|
|
|
})(this.processingHash, this.processingAddress, this) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|