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

cast disassemble does not support PUSH0 #6840

Closed
2 tasks done
ptrcarta opened this issue Jan 18, 2024 · 0 comments · Fixed by #6849
Closed
2 tasks done

cast disassemble does not support PUSH0 #6840

ptrcarta opened this issue Jan 18, 2024 · 0 comments · Fixed by #6849
Labels
T-bug Type: bug

Comments

@ptrcarta
Copy link

Component

Cast

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (b51c057 2024-01-18T00:23:54.396010000Z)

What command(s) is the bug in?

cast disassemble

Operating System

macOS (Apple Silicon)

Describe the bug

cast disassemble relies on evm-disassembler 0.3.0 (https://github.com/ckoopmann/evm-disassembler) which does not support the PUSH0 instruction of shanghai.

example:

$ cast disassemble 5f
00000000: INVALID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant