From b507f538bd75858d9331d2c266bbeb29c1c7cd60 Mon Sep 17 00:00:00 2001 From: Artem Yazkov Date: Mon, 25 Nov 2024 22:48:43 +0500 Subject: [PATCH] NDEV-3380 consider ExitStatus::Interrupted as non-error --- evm_loader/program/src/instruction/transaction_step.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evm_loader/program/src/instruction/transaction_step.rs b/evm_loader/program/src/instruction/transaction_step.rs index 2133bf162..8f00fb90d 100644 --- a/evm_loader/program/src/instruction/transaction_step.rs +++ b/evm_loader/program/src/instruction/transaction_step.rs @@ -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) }