Skip to content

core/vm: include operand in invalid eip-8024 errors#34635

Open
gzliudan wants to merge 1 commit intoethereum:masterfrom
gzliudan:fix-immediates
Open

core/vm: include operand in invalid eip-8024 errors#34635
gzliudan wants to merge 1 commit intoethereum:masterfrom
gzliudan:fix-immediates

Conversation

@gzliudan
Copy link
Copy Markdown
Contributor

@gzliudan gzliudan commented Apr 2, 2026

Return ErrInvalidOpCode with the executing opcode and offending immediate for forbidden DUPN, SWAPN, and EXCHANGE operands. Extend TestEIP8024_Execution to assert both opcode and operand for all invalid-immediate paths.

@gzliudan gzliudan requested a review from rjl493456442 as a code owner April 2, 2026 10:56
Return ErrInvalidOpCode with the executing opcode and offending immediate for forbidden DUPN, SWAPN, and EXCHANGE operands.
Extend TestEIP8024_Execution to assert both opcode and operand for all invalid-immediate paths.
@gzliudan gzliudan changed the title core/vm: report executing opcode for invalid eip-8024 immediates core/vm: include operand in invalid eip-8024 errors Apr 2, 2026
@gzliudan gzliudan requested a review from rjl493456442 April 2, 2026 15:39
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