Skip to content

Commit b4da5a4

Browse files
committed
fix: handle non-empty step_exits
1 parent 41e2682 commit b4da5a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/evm/traces/src/folded_stack_trace.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ impl EvmFoldedStackTraceBuilder {
6767
}
6868
}
6969

70+
// Exit pending internal function calls if any.
71+
for _ in 0..step_exits.len() {
72+
self.fst.exit();
73+
}
74+
7075
// Exit from this call context in the folded stack trace.
7176
self.fst.exit();
7277
}

0 commit comments

Comments
 (0)