Skip to content

Commit 0c9cfe5

Browse files
authored
Release pact 4.9 (#1305)
* fix tests for info removal to be turned on post 4.9 * 4.9 changelog * fix tests to use 4.9
1 parent 445af04 commit 0c9cfe5

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
4.9.0
2+
---
3+
### Bugfixes
4+
- Pact value infos fixed (#1287)
5+
6+
### Features
7+
- Webauthn support (#1193)
8+
9+
110
4.8.0
211
---
312
### Bugfixes

src/Pact/Eval.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ enforcePactValue :: Pretty n => (Term n) -> Eval e PactValue
11341134
enforcePactValue t = case toPactValue t of
11351135
Left s -> evalError' t $ "Only value-level terms permitted: " <> pretty s
11361136
Right v -> do
1137-
elide <- ifExecutionFlagSet' FlagDisablePact48 id stripAllPactValueInfo
1137+
elide <- ifExecutionFlagSet' FlagDisablePact49 id stripAllPactValueInfo
11381138
return (elide v)
11391139

11401140
reduceApp :: App (Term Ref) -> Eval e (Term Name)

tests/pact/caps.repl

+1-1
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@
852852
(continue-pact 1))
853853

854854
(begin-tx)
855-
(env-exec-config ["DisablePact48"])
855+
(env-exec-config ["DisablePact49"])
856856

857857
; pact 48 caps
858858
(interface ops

tests/pact/hash.repl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(expect "hash roundtrip" (hash "hello") (tx-hash))
44

55
(begin-tx)
6-
(env-exec-config ["DisablePact48"])
6+
(env-exec-config ["DisablePact49"])
77
(interface iface
88
(defun f:bool (a:module{iface}))
99
)

tests/pact/principals.repl

+1-1
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@
626626
(create-table mstbl)
627627

628628
; Test principal caps created pre-info eliding
629-
(env-exec-config ["DisablePact48"])
629+
(env-exec-config ["DisablePact49"])
630630
(write-principal 'a (create-principal (create-capability-guard (test-cap m))))
631631

632632
(write-principal 'b (create-principal (create-capability-guard (test-cap m))))

0 commit comments

Comments
 (0)