Skip to content

Commit

Permalink
fix tests for info removal to be turned on post 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcardon committed Oct 2, 2023
1 parent 445af04 commit cf96fc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Pact/Eval.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ enforcePactValue :: Pretty n => (Term n) -> Eval e PactValue
enforcePactValue t = case toPactValue t of
Left s -> evalError' t $ "Only value-level terms permitted: " <> pretty s
Right v -> do
elide <- ifExecutionFlagSet' FlagDisablePact48 id stripAllPactValueInfo
elide <- ifExecutionFlagSet' FlagDisablePact49 id stripAllPactValueInfo
return (elide v)

reduceApp :: App (Term Ref) -> Eval e (Term Name)
Expand Down
2 changes: 1 addition & 1 deletion tests/pact/hash.repl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(expect "hash roundtrip" (hash "hello") (tx-hash))

(begin-tx)
(env-exec-config ["DisablePact48"])
(env-exec-config ["DisablePact49"])
(interface iface
(defun f:bool (a:module{iface}))
)
Expand Down

0 comments on commit cf96fc1

Please sign in to comment.