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

fix: support EOF opcodes in cast da #9070

Merged
merged 4 commits into from
Oct 9, 2024
Merged

fix: support EOF opcodes in cast da #9070

merged 4 commits into from
Oct 9, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Oct 9, 2024

Motivation

right now cast disassemble does not handle EOF opcodes and their immediate bytes

Solution

Reuse immediate_size helper from revm-inspectors (should we move it to revm?), and implement a native helper for decoding bytecode.

@klkvr klkvr changed the title fix: support EOF opcodes in cast da fix: support EOF opcodes in cast da Oct 9, 2024
@mattsse mattsse merged commit ad86979 into master Oct 9, 2024
22 checks passed
@mattsse mattsse deleted the klkvr/disassemble-eof branch October 9, 2024 07:48
@klkvr klkvr self-assigned this Oct 14, 2024
@grandizzy grandizzy added T-bug Type: bug C-cast Command: cast labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cast Command: cast T-bug Type: bug
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

3 participants