Skip to content

Commit

Permalink
Make evalGasPayerCap have the same Expr type as evalExecTerm
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcardon committed Oct 24, 2024
1 parent 7f17548 commit 22f1864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pact/Pact/Core/Evaluate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22f1864

Please sign in to comment.