Merge pull request #527 from ethereum/yann300-patch-12

Make sure the address is checksumed
pull/529/head
yann300 4 years ago committed by GitHub
commit c6c559e04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      libs/remix-lib/src/web3Provider/web3VmProvider.js

@ -174,6 +174,7 @@ web3VmProvider.prototype.pushTrace = function (self, data) {
this.lastProcessedStorageTxHash[this.processingAddress] = this.processingHash
} else {
this.processingAddress = uiutil.normalizeHexAddress(step.stack[step.stack.length - 2])
this.processingAddress = ethutil.toChecksumAddress(this.processingAddress)
if (!self.storageCache[self.processingHash][this.processingAddress]) {
const account = ethutil.toBuffer(this.processingAddress)
self.vm.stateManager.dumpStorage(account, function (storage) {

Loading…
Cancel
Save