Skip to content

chore(deps): bump revm to 24.0.0 #10601

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

zerosnacks
Copy link
Member

Motivation

Closes: #10557

Due to the memory field not being accessible from .gas we had to make a small modification with accessors added in https://github.com/bluealloy/revm/pull/2537/files

Solution

Bumps:

  • revm
  • op-revm
  • op-alloy*
  • revm-inspectors
  • alloy-evm
  • foundry-fork-db

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@zerosnacks zerosnacks marked this pull request as ready for review May 23, 2025 10:23
@zerosnacks zerosnacks moved this to Ready For Review in Foundry May 23, 2025
Comment on lines +1848 to +1851
let memory = *interpreter.control.gas.memory();
interpreter.control.gas = *paused_gas;
interpreter.control.gas.memory = memory;
interpreter.control.gas.memory_mut().words_num = memory.words_num;
interpreter.control.gas.memory_mut().expansion_cost = memory.expansion_cost;
Copy link
Member Author

Choose a reason for hiding this comment

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

cc @klkvr would you mind double checking this logic block? This should be equivalent and tests are all passing.

For context: https://github.com/bluealloy/revm/pull/2537/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready For Review
Development

Successfully merging this pull request may close these issues.

chore(revm bump): unpin revm from main commit to new crate release
1 participant