From 65d3614974e907f43bb6b9b9ec8f311a5956fcfe Mon Sep 17 00:00:00 2001 From: Tom French Date: Thu, 2 Jan 2025 15:45:04 +0000 Subject: [PATCH] . --- tooling/nargo/src/ops/test.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tooling/nargo/src/ops/test.rs b/tooling/nargo/src/ops/test.rs index 420a7c87704..bfd5cd3713f 100644 --- a/tooling/nargo/src/ops/test.rs +++ b/tooling/nargo/src/ops/test.rs @@ -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,