From 3942f0e79949433a5b3eb50dec3e2fe587ed8516 Mon Sep 17 00:00:00 2001 From: jmcardon Date: Thu, 24 Oct 2024 18:03:11 -0400 Subject: [PATCH] Make evalGasPayerCap have the same Expr type as evalExecTerm --- pact/Pact/Core/Evaluate.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pact/Pact/Core/Evaluate.hs b/pact/Pact/Core/Evaluate.hs index 7f79324b..e055f298 100644 --- a/pact/Pact/Core/Evaluate.hs +++ b/pact/Pact/Core/Evaluate.hs @@ -261,11 +261,11 @@ evalGasPayerCap -> Set ExecutionFlag -> NamespacePolicy -> PublicData -> MsgData -> CapState QualifiedName PactValue - -> Lisp.Expr Info -> IO (Either (PactError Info) EvalResult) + -> Lisp.Expr SpanInfo -> IO (Either (PactError Info) EvalResult) evalGasPayerCap capToken db spv gasModel flags nsp publicData msgData capState body = do evalEnv <- setupEvalEnv db Transactional msgData Nothing gasModel nsp spv publicData flags let evalState = def & esCaps .~ capState - interpretGasPayerTerm evalEnv evalState capToken body + interpretGasPayerTerm evalEnv evalState capToken (def <$ body) interpret