fix decoding preimage

pull/3285/head^2
yann300 2 years ago committed by Aniket
parent cf40bfd7c2
commit fecd60fd01
  1. 2
      libs/remix-simulator/src/VmProxy.ts

@ -306,7 +306,7 @@ export class VmProxy {
}
}
if (previousOpcode && previousOpcode.op === 'SHA3') {
const preimage = this.getSha3Input(previousOpcode.stack, this.lastMemoryUpdate)
const preimage = this.getSha3Input(previousOpcode.stack, formatMemory(this.lastMemoryUpdate))
const imageHash = step.stack[step.stack.length - 1].replace('0x', '')
this.sha3Preimages[imageHash] = {
preimage: preimage

Loading…
Cancel
Save