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