diff --git a/libs/remix-lib/src/web3Provider/web3VmProvider.ts b/libs/remix-lib/src/web3Provider/web3VmProvider.ts index 0d9ed6ddc2..99c5d9f51e 100644 --- a/libs/remix-lib/src/web3Provider/web3VmProvider.ts +++ b/libs/remix-lib/src/web3Provider/web3VmProvider.ts @@ -206,7 +206,7 @@ export class Web3VmProvider { this.processingAddress = toChecksumAddress(this.processingAddress) if (!this.storageCache[this.processingHash][this.processingAddress]) { const account = toBuffer(this.processingAddress) - this.vm.stateManager.dumpStorage(account, function (storage) { + this.vm.stateManager.dumpStorage(account, (storage) => { this.storageCache[this.processingHash][this.processingAddress] = storage this.lastProcessedStorageTxHash[this.processingAddress] = this.processingHash })