Skip to content

Commit

Permalink
Update to new nothunks (#5616)
Browse files Browse the repository at this point in the history
* Update Hackage and CHaP

* Update nothunks bound

* Support new vty
  • Loading branch information
michaelpj authored Nov 9, 2023
1 parent c5c1c39 commit ac8e838
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ repository cardano-haskell-packages
-- update either of these.
index-state:
-- Bump both the following dates if you need newer packages from Hackage
, hackage.haskell.org 2023-09-26T22:43:52Z
, hackage.haskell.org 2023-11-08T00:00:00Z
-- Bump this if you need newer packages from CHaP
, cardano-haskell-packages 2023-09-26T01:42:03Z
, cardano-haskell-packages 2023-11-08T00:00:00Z

packages: doc/read-the-docs-site
plutus-benchmark
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions plutus-core/executables/debugger/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import Data.Text (Text)
import Data.Traversable
import GHC.IO (stToIO)
import Graphics.Vty qualified as Vty
import Graphics.Vty.CrossPlatform qualified as Vty
import Lens.Micro
import Options.Applicative qualified as OA
import Text.Megaparsec as MP
Expand Down
5 changes: 3 additions & 2 deletions plutus-core/plutus-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ library
, monoidal-containers
, mtl
, multiset
, nothunks >=0.1.1
, nothunks ^>=0.1.5
, parser-combinators >=0.4.0
, prettyprinter >=1.1.0.1
, prettyprinter-configurable ^>=1.15
Expand Down Expand Up @@ -800,7 +800,8 @@ executable debugger
, primitive
, text
, text-zipper
, vty
, vty ^>=6
, vty-crossplatform ^>=0.2

----------------------------------------------
-- profiling
Expand Down
3 changes: 0 additions & 3 deletions plutus-ledger-api/src/PlutusLedgerApi/Common/Eval.hs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,3 @@ But this is really far too strict: we can check when deserializing, so it can be
failure, like the other such checks that we have. For now we keep it as it is, but we may
try to move it later.
-}

-- TODO: Remove after https://github.com/input-output-hk/nothunks/pull/34
deriving anyclass instance NoThunks a => NoThunks (Identity a)

1 comment on commit ac8e838

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Plutus Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: ac8e838 Previous: c5c1c39 Ratio
nofib-primetest/05digits 15450 μs 14520 μs 1.06
nofib-primetest/08digits 25760 μs 24070 μs 1.07
nofib-primetest/10digits 31070 μs 29490 μs 1.05

This comment was automatically generated by workflow using github-action-benchmark.

CC: @input-output-hk/plutus-core

Please sign in to comment.