diff --git a/libs/remix-simulator/src/VmProxy.ts b/libs/remix-simulator/src/VmProxy.ts index f6a5d2e8a6..e2254e2876 100644 --- a/libs/remix-simulator/src/VmProxy.ts +++ b/libs/remix-simulator/src/VmProxy.ts @@ -194,10 +194,10 @@ export class VmProxy { const to = this.txs[this.processingHash].to if (to) { try { - (async (processingHash, processingAddress, self) => { + await (async (processingHash, processingAddress, self) => { try { const account = Address.fromString(processingAddress) - const storage = await self.stateCopy.dumpStorage(account) + const storage = await self.vm.stateManager.dumpStorage(account) self.storageCache['after_' + processingHash][processingAddress] = storage } catch (e) { console.log(e)