Skip to content

Commit

Permalink
NDEV-3380 Bugfix within opcode_call_precompile_impl()
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-yazkov committed Nov 8, 2024
1 parent e2af032 commit 95f37f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion evm_loader/program/src/evm/opcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,10 @@ impl<B: Database, T: EventListener> Machine<B, T> {

match result {
Some(Ok(return_data)) => self.opcode_return_impl(return_data, backend).await,
Some(Err(Error::InterruptedCall)) => Ok(Action::Interrupted),
Some(Err(e)) => match e {
Error::InterruptedCall => Ok(Action::Interrupted),
_ => Err(e),
},
_ => Ok(Action::Noop),
}
}
Expand Down

0 comments on commit 95f37f3

Please sign in to comment.