Skip to content

Commit

Permalink
NDEV-3380 consider ExitStatus::Interrupted as non-error
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-yazkov committed Nov 25, 2024
1 parent a292047 commit b507f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evm_loader/program/src/instruction/transaction_step.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn do_continue<'a>(
let mut steps_executed = 0;
if backend.exit_status().is_none() {
let (exit_status, steps_returned, _, _) = evm.execute(step_count, &mut backend)?;
if exit_status != ExitStatus::StepLimit {
if exit_status != ExitStatus::StepLimit && exit_status != ExitStatus::Interrupted {
backend.set_exit_status(exit_status)
}

Expand Down

0 comments on commit b507f53

Please sign in to comment.