-
Notifications
You must be signed in to change notification settings - Fork 2.2k
chore: bump revm 31 #12461
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
chore: bump revm 31 #12461
Conversation
897d9af to
9126c24
Compare
9126c24 to
d7f486c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these lgtm now
| // Transfer the value between accounts | ||
| internals | ||
| .transfer(from_address, to_address, value) | ||
| .map_err(|e| PrecompileError::Other(format!("Failed to perform transfer: {e:?}")))?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checks out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inner journal impl makes the same balance checks as above but the errors are not bubbled up, this may be a nice follow-up.
https://github.com/bluealloy/revm/blob/a1fdb9d9e98f9dd14b7577edbad49c139ab53b16/crates/context/src/journal/inner.rs#L315-L320
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
this still needs some work
with recent revm change we can no longer access &mut Account and need workarounds for this
ideally helpers on
EvmInternalstodo
figure out which ones and upstream to alloy-evm and make nicer