Skip to content

Conversation

@frangio
Copy link
Contributor

@frangio frangio commented Dec 5, 2025

The EIP says to increment PC by 2 instead of the standard increment by 1. The opcode handlers added in #33095 result in incrementing PC by 3, because they ignored the increment already present in interpreter.go.

Does this need to be better specified in the EIP? I've added a new test case for it anyway.

Found by @0xriptide.

@frangio frangio requested a review from rjl493456442 as a code owner December 5, 2025 15:57
@fjl
Copy link
Contributor

fjl commented Dec 6, 2025

Good catch. I merged the original PR without really giving it a deep look, since we will have lots of testcases later.

@fjl fjl added this to the 1.16.8 milestone Dec 8, 2025
@fjl fjl merged commit 66134b3 into ethereum:master Dec 8, 2025
8 of 9 checks passed
@frangio frangio deleted the fix-8024-pc branch December 8, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants