Skip to content

Commit

Permalink
1.5.0.2
Browse files Browse the repository at this point in the history
This release contains backport of the change to PlutusLedgerApi.V1.Value (adding `-fexpose-all-unfoldings`) from #5587.
  • Loading branch information
zliu41 committed Nov 22, 2023
1 parent 7d73007 commit 5ef07b8
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 82 deletions.
6 changes: 3 additions & 3 deletions doc/read-the-docs-site/plutus-doc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ executable doc-doctests
, containers
, flat <0.5
, lens
, plutus-core ^>=1.5
, plutus-ledger-api ^>=1.5
, plutus-tx ^>=1.5
, plutus-core ^>=1.5
, plutus-ledger-api ^>=1.5
, plutus-tx ^>=1.5
, prettyprinter
, random
, serialise
Expand Down
64 changes: 32 additions & 32 deletions plutus-benchmark/plutus-benchmark.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ library plutus-benchmark-common
, base >=4.9 && <5
, criterion
, filepath
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-core ^>=1.5
, plutus-tx ^>=1.5

---------------- nofib ----------------

Expand Down Expand Up @@ -93,9 +93,9 @@ library nofib-internal
, base >=4.9 && <5
, deepseq
, plutus-benchmark-common
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5

executable nofib-exe
import: lang
Expand All @@ -114,8 +114,8 @@ executable nofib-exe
, nofib-internal
, optparse-applicative
, plutus-benchmark-common
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, transformers

benchmark nofib
Expand Down Expand Up @@ -163,8 +163,8 @@ test-suite plutus-benchmark-nofib-tests
, base >=4.9 && <5
, nofib-internal
, plutus-benchmark-common
, plutus-core:{plutus-core, plutus-core-testlib} ^>=1.5
, plutus-tx:{plutus-tx, plutus-tx-testlib} ^>=1.5
, plutus-core:{plutus-core, plutus-core-testlib} ^>=1.5
, plutus-tx:{plutus-tx, plutus-tx-testlib} ^>=1.5
, tasty
, tasty-hunit
, tasty-quickcheck
Expand Down Expand Up @@ -196,9 +196,9 @@ library lists-internal
, base >=4.9 && <5
, mtl
, plutus-benchmark-common
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5

executable list-sort-exe
import: lang
Expand All @@ -213,7 +213,7 @@ executable list-sort-exe
, lists-internal
, monoidal-containers
, plutus-benchmark-common
, plutus-core ^>=1.5
, plutus-core ^>=1.5

benchmark lists
import: lang
Expand Down Expand Up @@ -247,8 +247,8 @@ test-suite plutus-benchmark-lists-tests
, base >=4.9 && <5
, lists-internal
, plutus-benchmark-common
, plutus-core:plutus-core-testlib ^>=1.5
, plutus-tx:plutus-tx-testlib ^>=1.5
, plutus-core:plutus-core-testlib ^>=1.5
, plutus-tx:plutus-tx-testlib ^>=1.5
, tasty
, tasty-quickcheck

Expand All @@ -270,8 +270,8 @@ benchmark validation
, flat <0.5
, optparse-applicative
, plutus-benchmark-common
, plutus-core ^>=1.5
, plutus-ledger-api ^>=1.5
, plutus-core ^>=1.5
, plutus-ledger-api ^>=1.5

---------------- validation-decode ----------------

Expand All @@ -291,8 +291,8 @@ benchmark validation-decode
, flat <0.5
, optparse-applicative
, plutus-benchmark-common
, plutus-core ^>=1.5
, plutus-ledger-api ^>=1.5
, plutus-core ^>=1.5
, plutus-ledger-api ^>=1.5

---------------- validation-full ----------------

Expand All @@ -312,8 +312,8 @@ benchmark validation-full
, flat <0.5
, optparse-applicative
, plutus-benchmark-common
, plutus-core ^>=1.5
, plutus-ledger-api:{plutus-ledger-api, plutus-ledger-api-testlib} ^>=1.5
, plutus-core ^>=1.5
, plutus-ledger-api:{plutus-ledger-api, plutus-ledger-api-testlib} ^>=1.5

---------------- Cek cost model calibration ----------------

Expand All @@ -335,9 +335,9 @@ benchmark cek-calibration
, criterion >=1.5.9.0
, lens
, mtl
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5

---------------- Signature verification throughput ----------------

Expand All @@ -359,9 +359,9 @@ executable ed25519-throughput
, cardano-crypto-class
, flat <0.5
, hedgehog
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5

---------------- script contexts ----------------

Expand All @@ -378,9 +378,9 @@ library script-contexts-internal
exposed-modules: PlutusBenchmark.ScriptContexts
build-depends:
, base >=4.9 && <5
, plutus-ledger-api ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5
, plutus-ledger-api ^>=1.5
, plutus-tx ^>=1.5
, plutus-tx-plugin ^>=1.5

test-suite plutus-benchmark-script-contexts-tests
import: lang
Expand All @@ -395,8 +395,8 @@ test-suite plutus-benchmark-script-contexts-tests
build-depends:
, base >=4.9 && <5
, plutus-benchmark-common
, plutus-core:{plutus-core, plutus-core-testlib} ^>=1.5
, plutus-tx:plutus-tx-testlib ^>=1.5
, plutus-core:{plutus-core, plutus-core-testlib} ^>=1.5
, plutus-tx:plutus-tx-testlib ^>=1.5
, script-contexts-internal
, tasty
, tasty-hunit
8 changes: 4 additions & 4 deletions plutus-conformance/plutus-conformance.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ library
, directory
, filepath
, lens
, plutus-core ^>=1.5
, plutus-core ^>=1.5
, tasty
, tasty-expected-failure
, tasty-golden
Expand All @@ -66,7 +66,7 @@ executable test-utils
, base >=4.9 && <5
, optparse-applicative
, plutus-conformance
, plutus-core ^>=1.5
, plutus-core ^>=1.5
, plutus-metatheory
, tasty-golden
, text
Expand Down Expand Up @@ -105,7 +105,7 @@ test-suite haskell-steppable-conformance
, base >=4.9 && <5
, lens
, plutus-conformance
, plutus-core ^>=1.5
, plutus-core ^>=1.5

test-suite agda-conformance
import: lang
Expand All @@ -116,6 +116,6 @@ test-suite agda-conformance
build-depends:
, base >=4.9 && <5
, plutus-conformance
, plutus-core ^>=1.5
, plutus-core ^>=1.5
, plutus-metatheory
, transformers
22 changes: 11 additions & 11 deletions plutus-core/plutus-core.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: plutus-core
version: 1.5.0.1
version: 1.5.0.2
license: Apache-2.0
license-files:
LICENSE
Expand Down Expand Up @@ -333,7 +333,7 @@ test-suite plutus-core-test
default-language: Haskell2010
build-depends:
, aeson
, base >=4.9 && <5
, base >=4.9 && <5
, bytestring
, containers
, data-default-class
Expand Down Expand Up @@ -381,7 +381,7 @@ test-suite untyped-plutus-core-test
Transform.Simplify

build-depends:
, base >=4.9 && <5
, base >=4.9 && <5
, bytestring
, cardano-crypto-class
, dlist
Expand All @@ -407,7 +407,7 @@ executable plc
main-is: plc/Main.hs
hs-source-dirs: executables
build-depends:
, base >=4.9 && <5
, base >=4.9 && <5
, deepseq
, optparse-applicative
, plutus-core ^>=1.5
Expand All @@ -419,7 +419,7 @@ executable uplc
main-is: uplc/Main.hs
hs-source-dirs: executables
build-depends:
, base >=4.9 && <5
, base >=4.9 && <5
, deepseq
, haskeline
, mtl
Expand Down Expand Up @@ -531,7 +531,7 @@ test-suite plutus-ir-test
TypeSpec

build-depends:
, base >=4.9 && <5
, base >=4.9 && <5
, containers
, flat <0.5
, hashable
Expand All @@ -552,7 +552,7 @@ executable pir
main-is: pir/Main.hs
hs-source-dirs: executables
build-depends:
, base >=4.9 && <5
, base >=4.9 && <5
, bytestring
, cassava
, containers
Expand Down Expand Up @@ -580,7 +580,7 @@ library plutus-core-execlib

build-depends:
, aeson
, base >=4.9 && <5
, base >=4.9 && <5
, bytestring
, deepseq
, flat <0.5
Expand Down Expand Up @@ -681,7 +681,7 @@ executable debugger

ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
, base >=4.9 && <5
, base >=4.9 && <5
, brick
, containers
, megaparsec
Expand Down Expand Up @@ -760,7 +760,7 @@ executable cost-model-budgeting-bench

hs-source-dirs: cost-model/budgeting-bench
build-depends:
, base >=4.9 && <5
, base >=4.9 && <5
, bytestring
, cardano-crypto-class
, criterion
Expand Down Expand Up @@ -904,7 +904,7 @@ library index-envs
Data.RandomAccessList.SkewBinarySlab

build-depends:
, base >=4.9 && <5
, base >=4.9 && <5
, containers
, extra
, nonempty-vector
Expand Down
22 changes: 11 additions & 11 deletions plutus-ledger-api/plutus-ledger-api.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: plutus-ledger-api
version: 1.5.0.1
version: 1.5.0.2
license: Apache-2.0
license-files:
LICENSE
Expand Down Expand Up @@ -95,8 +95,8 @@ library
, lens
, mtl
, nothunks
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, plutus-core ^>=1.5
, plutus-tx ^>=1.5
, prettyprinter
, serialise
, tagged
Expand All @@ -116,9 +116,9 @@ library plutus-ledger-api-testlib
, base >=4.9 && <5
, base64-bytestring
, bytestring
, plutus-core ^>=1.5
, plutus-ledger-api ^>=1.5
, plutus-tx ^>=1.5
, plutus-core ^>=1.5
, plutus-ledger-api ^>=1.5
, plutus-tx ^>=1.5
, prettyprinter
, PyF >=0.11.1.0
, serialise
Expand All @@ -144,9 +144,9 @@ test-suite plutus-ledger-api-test
, hedgehog
, mtl
, nothunks
, plutus-core ^>=1.5
, plutus-ledger-api:{plutus-ledger-api, plutus-ledger-api-testlib} ^>=1.5
, plutus-tx:plutus-tx-testlib ^>=1.5
, plutus-core ^>=1.5
, plutus-ledger-api:{plutus-ledger-api, plutus-ledger-api-testlib} ^>=1.5
, plutus-tx:plutus-tx-testlib ^>=1.5
, tasty
, tasty-hedgehog
, tasty-hunit
Expand All @@ -166,8 +166,8 @@ executable evaluation-test
, extra
, filepath
, mtl
, plutus-core ^>=1.5
, plutus-ledger-api:{plutus-ledger-api, plutus-ledger-api-testlib} ^>=1.5
, plutus-core ^>=1.5
, plutus-ledger-api:{plutus-ledger-api, plutus-ledger-api-testlib} ^>=1.5
, serialise
, tasty
, tasty-hunit
Expand Down
4 changes: 4 additions & 0 deletions plutus-ledger-api/src/PlutusLedgerApi/V1/Value.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
{-# OPTIONS_GHC -fno-omit-interface-pragmas #-}
{-# OPTIONS_GHC -fno-spec-constr #-}
{-# OPTIONS_GHC -fno-specialise #-}
{-# OPTIONS_GHC -fexpose-all-unfoldings #-}
-- We need -fexpose-all-unfoldings to compile the Marlowe validator
-- with GHC 9.6.2.
-- TODO. Look into this more closely: see PLT-7976.

-- | Functions for working with 'Value'.
module PlutusLedgerApi.V1.Value(
Expand Down
Loading

0 comments on commit 5ef07b8

Please sign in to comment.