Skip to content

feat(deps): bump revm #114

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

Merged
merged 19 commits into from
Jul 1, 2025
Merged

feat(deps): bump revm #114

merged 19 commits into from
Jul 1, 2025

Conversation

Evalir
Copy link
Member

@Evalir Evalir commented Jun 26, 2025

Bumps to 27.0.1, with the necessary version bump

Bumps to 26.0.1, with the necessary version bump
Copy link
Member Author

Evalir commented Jun 26, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@prestwich
Copy link
Member

this appears to have changes that arent strictly a version bump

@Evalir Evalir requested a review from prestwich June 27, 2025 08:23
@@ -87,7 +87,6 @@ estimate_gas = ["optional_eip3607", "optional_no_base_fee", "dep:tracing"]
test-utils = ["revm/std", "revm/serde-json", "revm/alloydb"]

secp256k1 = ["revm/secp256k1"]
secp256r1 = ["revm/secp256r1"]
Copy link
Member

Choose a reason for hiding this comment

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

was this revm feature removed?

Copy link
Member Author

@Evalir Evalir Jun 30, 2025

Choose a reason for hiding this comment

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

it was removed as a feature and it's now included by default—but only activated on the Osaka spec onwards. means we need to enable it/inject it ourselves wherever else we actually want to use the Opcode

Copy link
Member Author

Choose a reason for hiding this comment

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

@Evalir Evalir requested a review from prestwich June 30, 2025 10:48
@prestwich
Copy link
Member

on guidance from @bluealloy that equality will stay broken for a few weeks, let's re-write the tests and make a note

@Evalir
Copy link
Member Author

Evalir commented Jul 1, 2025

revm bumped to equivalent version on paradigmxyz/reth#17153

@@ -83,7 +83,7 @@ pub trait EvmExtUnchecked<Db: Database> {
let mut acct = self.account(address)?;
let old = self.storage(address, index)?;

let change = EvmStorageSlot::new_changed(old, value);
let change = EvmStorageSlot::new_changed(old, value, 0);
Copy link
Member

Choose a reason for hiding this comment

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

what is this new arg? how does it work? where is it used in revm?

Copy link
Member

Choose a reason for hiding this comment

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

for posterity: it is either a transaction_id and/or a transition_id (both terms are used in revm code) and the EVM internal journal uses it when reverting transitions while executing multiple transactions without commiting them to the db.

@Evalir Evalir requested a review from prestwich July 1, 2025 19:33
@Evalir Evalir merged commit 11c5d4a into main Jul 1, 2025
7 checks passed
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