Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Jan 2, 2025
1 parent 06a6676 commit 65d3614
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tooling/nargo/src/ops/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ where
match self.executor.execute(foreign_call) {
Err(ForeignCallError::NoHandler(_)) => {
self.encountered_unknown_foreign_call = true;
// If the inner executor cannot handle this foreign call, then it's very likely that this is a custom
// foreign call. We then return an empty response in case the foreign call doesn't need return values.
layers::Empty.execute(foreign_call)
}
other => other,
Expand Down

0 comments on commit 65d3614

Please sign in to comment.