Skip to content

Commit 3f4fc02

Browse files
authored
Finalize switch from cryptonite to crypton (#6799)
* Switch from cryptonite to crypton The former is deprecated in favor of the later which is a drop in replacement. This was made a little bit complicated because plutus uses a constructor from cryptonite/crypton but GHC does not recognize the same constructor name in two different packages. Thr fix was to do the cryptonite/crypton replacement in dependent libraries cardano-crytpo and cardano-crytpo-class first. * Nix updates
1 parent 5458fe5 commit 3f4fc02

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

cabal.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ repository cardano-haskell-packages
1414
-- update either of these.
1515
index-state:
1616
-- Bump both the following dates if you need newer packages from Hackage
17-
, hackage.haskell.org 2025-01-15T23:22:14Z
17+
, hackage.haskell.org 2025-01-23T19:34:35Z
1818
-- Bump this if you need newer packages from CHaP
19-
, cardano-haskell-packages 2025-01-15T09:59:24Z
19+
, cardano-haskell-packages 2025-01-22T23:05:02Z
2020

2121
packages: cardano-constitution
2222
plutus-benchmark

doc/notes/model/UTxO.hsproj/UTxO.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ executable UTxO
2121
, bytestring
2222
, containers
2323
, cryptohash
24-
, cryptonite
24+
, crypton
2525
, hashable
2626
, memory
2727
, template-haskell

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plutus-core/plutus-core.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,13 @@ library
293293
, bimap
294294
, bytestring
295295
, bytestring-strict-builder
296-
, cardano-crypto <1.2
296+
, cardano-crypto >=1.2
297297
, cardano-crypto-class ^>=2.2
298298
, cassava
299299
, cborg
300300
, composition-prelude >=1.1.0.1
301301
, containers
302-
, cryptonite
302+
, crypton
303303
, data-default-class
304304
, deepseq
305305
, dependent-sum >=0.7.1.0

plutus-metatheory/plutus-metatheory.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ library
5959
, base
6060
, bytestring
6161
, composition-prelude
62-
, cryptonite
62+
, crypton
6363
, extra
6464
, filepath
6565
, ghc-prim

0 commit comments

Comments
 (0)