Skip to content

Commit

Permalink
do printfs work through chainweb?
Browse files Browse the repository at this point in the history
  • Loading branch information
imalsogreg committed Aug 2, 2023
1 parent 5fc7fc6 commit f94b9a6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src-ghc/Pact/Interpreter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,12 @@ evalContinuation :: Interpreter e -> EvalEnv e -> ContMsg -> IO EvalResult
evalContinuation runner ee cm = case (_cmProof cm) of
Nothing ->
interpret runner (setStep Nothing) (Left Nothing)
Just _ -> do
etpe :: Either Text PactExec <- error "ERROR EVALCONTINUATION" -- (_spvVerifyContinuation . _eeSPVSupport $ ee) p
Just p -> do
putStrLn "TESTING1"
etpe <- (_spvVerifyContinuation . _eeSPVSupport $ ee) p
putStrLn "TESTING2"
pe <- either contError return etpe
putStrLn "TESTING3"
interpret runner (setStep (_peYield pe)) (Left $ Just pe)
where
contError spvErr =
Expand Down

0 comments on commit f94b9a6

Please sign in to comment.