Skip to content

Commit

Permalink
Merge branch 'bluealloy:main' into Split-Precompile-Constants-out-of-…
Browse files Browse the repository at this point in the history
…Individual-Modules-bluealloy#2081
  • Loading branch information
Ayushdubey86 authored Feb 18, 2025
2 parents 31fa51e + f463fb8 commit b804a84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/inspector/src/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ where
if let Some(output) = frame_start(context, inspector, &mut init) {
output
} else {
match self.frame_init(frame, evm, init)? {
match self.frame_init(frame, evm, init.clone())? {
ItemOrResult::Item(mut new_frame) => {
// only if new frame is created call initialize_interp hook.
let (context, inspector) = evm.ctx_inspector();
Expand All @@ -288,7 +288,7 @@ where
// Dont pop the frame as new frame was not created.
ItemOrResult::Result(mut result) => {
let (context, inspector) = evm.ctx_inspector();
frame_end(context, inspector, frame.frame_input(), &mut result);
frame_end(context, inspector, &init, &mut result);
result
}
}
Expand Down

0 comments on commit b804a84

Please sign in to comment.