Skip to content

Commit b254e19

Browse files
committed
Use only step.stack in edrTracingStepToMinimalInterpreterStep
1 parent 5d46baa commit b254e19

File tree

1 file changed

+1
-6
lines changed
  • packages/hardhat-core/src/internal/hardhat-network/provider/utils

1 file changed

+1
-6
lines changed

packages/hardhat-core/src/internal/hardhat-network/provider/utils/convertToEdr.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,7 @@ export function edrTracingStepToMinimalInterpreterStep(
214214
opcode: {
215215
name: step.opcode,
216216
},
217-
stack:
218-
step.stack !== undefined
219-
? step.stack
220-
: step.stackTop !== undefined
221-
? [step.stackTop]
222-
: [],
217+
stack: step.stack,
223218
};
224219

225220
if (step.memory !== undefined) {

0 commit comments

Comments
 (0)