Skip to content

Commit

Permalink
feat(spec): update the EXT check to use the existing stringSet
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Sep 21, 2023
1 parent af0a1d2 commit b5fd8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sim/tracer/src/validationTracer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ type StringSet = Record<string, boolean | undefined>;
}
}

if (secondLast?.opcode.includes("EXT")) {
if (secondLast && EXT_OPCODES[secondLast.opcode]) {
const opString = `${secondLast.opcode} ${last?.opcode}`;
if (secondLast?.stackEnd && opString !== "EXTCODESIZE ISZERO") {
const addr = toAddress(secondLast.stackEnd.toString(16));
Expand Down

0 comments on commit b5fd8a3

Please sign in to comment.