Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify RJUMP in Stack Validation #127

Closed
chfast opened this issue Jun 7, 2024 · 0 comments · Fixed by #128
Closed

Clarify RJUMP in Stack Validation #127

chfast opened this issue Jun 7, 2024 · 0 comments · Fixed by #128
Assignees

Comments

@chfast
Copy link
Member

chfast commented Jun 7, 2024

The mega-spec eof.md explains successor instructions as follows:

  1. Determine the list of successor instructions that can follow the current instructions:
    1. The next instruction for all instructions other than terminating instructions and RJUMP.
    2. All targets of a RJUMPI or RJUMPV.

There RJUMP is unspecified.

The EIP-5450 is better, but unconditional jump is actually never defined (neither in EIP-4200).

  1. Determine the list of successor instructions that can follow the current instructions:
    1. The next instruction for all instructions other than terminating instructions and unconditional jump.
    2. All targets of a conditional or unconditional jump.
@pdobacz pdobacz self-assigned this Jun 10, 2024
pdobacz added a commit that referenced this issue Jun 10, 2024
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 a pull request may close this issue.

2 participants