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

feat: add Opcode::modifies_memory back #1421

Merged
merged 1 commit into from
May 15, 2024

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented May 15, 2024

previously added here #1270

got lost for some reason

/// <https://bluealloy.github.io/revm/crates/interpreter/memory.html#opcodes>
/// <https://github.com/crytic/evm-opcodes>
#[inline]
pub const fn modifies_memory(&self) -> bool {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to integrate it inside in OpCodeInfo, but we should add bitfields for it and this lgtm

@rakita rakita merged commit 4763c8b into bluealloy:main May 15, 2024
25 checks passed
This was referenced May 15, 2024
This was referenced Jun 8, 2024
This was referenced Jun 17, 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 this pull request may close these issues.

2 participants