Skip to content

Commit

Permalink
Go back to packages as pinned on cardano-node 1.35.4
Browse files Browse the repository at this point in the history
Try to move constraints into hydra-cardano-api so downstream users need
to add less constraints.
  • Loading branch information
ch1bo committed Nov 29, 2022
1 parent 9a7355e commit 04cb67b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 35 deletions.
47 changes: 17 additions & 30 deletions cabal.project
Expand Up @@ -18,7 +18,7 @@ index-state: 2022-10-21T00:00:00Z
index-state:
-- while haskell.nix, ignores this one
, hackage.haskell.org 2022-10-21T00:00:00Z
, cardano-haskell-packages 2022-11-17T00:00:00Z
, cardano-haskell-packages 2022-11-11T00:00:00Z

packages:
hydra-cluster
Expand Down Expand Up @@ -72,36 +72,23 @@ constraints:
, systemd >= 2.3.0
, network >= 3.1.1.0
, HSOpenSSL >= 0.11.7.2
-- NOTE: ouroboros-consensus-byron-0.1.0.1 needs this and has no lower bound
, cardano-binary >= 1.5.0.1
-- NOTE: cardano-ledger-alonzo-0.1.1.2 needs this and has no lower bound
, plutus-ledger-api >= 1.1.1.0
-- NOTE: from plutus
, dependent-sum >= 0.7.1.0

-- NOTE: Using master as it received some fixes to work with CHaP released packages upstream
source-repository-package
type: git
location: https://github.com/input-output-hk/ouroboros-network.git
tag: 31fe34df94d94efc9a6614e0fe780ec6b5082a61
--sha256: 1bggqbg96zliqc5309dxynvia4ixwv39v9ksyls5z5n5rjdc3kfb
subdir:
-- NOTE: Fixed import of cardano-prelude (not import cborError)
ouroboros-consensus-byron
-- NOTE: Updated imports to work with latest ledger
ouroboros-consensus-shelley
ouroboros-consensus-protocol
ouroboros-consensus-cardano
ouroboros-consensus-test
ouroboros-consensus
-- NOTE: Fixed super class StandardHash
ouroboros-network
, algebraic-graphs < 0.7
, protolude < 0.3.1
, cardano-prelude == 0.1.0.0
, base-deriving-via == 0.1.0.0
, cardano-binary-test == 1.3.0
, cardano-crypto-praos == 2.0.0
, cardano-crypto-tests == 2.0.0
, measures == 0.1.0.0
, orphans-deriving-via == 0.1.0.0
, plutus-core == 1.0.0.0
, plutus-tx == 1.0.0.0
, plutus-tx-plugin == 1.0.0.0
, prettyprinter-configurable == 0.1.0.0
, plutus-ghc-stub == 8.6.5
, word-array == 0.1.0.0

allow-newer:
*:aeson,
monoidal-containers:aeson,
size-based:template-haskell,
-- NOTE: plutus-core's hashable >= 1.4 and ouroboros-network' < 1.4 conflict
ouroboros-network:hashable,
-- REVIEW: this also has an upper bound, is this ok?
Unique:hashable
size-based:template-haskell
12 changes: 7 additions & 5 deletions hydra-cardano-api/hydra-cardano-api.cabal
Expand Up @@ -114,6 +114,8 @@ library
Hydra.Cardano.Api.VerificationKey
Hydra.Cardano.Api.Witness

-- NOTE: Constraints to make cardano-api 1.35.4 compile, most of these should
-- be further upstream
build-depends:
, aeson
, array
Expand All @@ -123,8 +125,8 @@ library
, bech32-th
, bytestring
, cardano-api >=1.35.4
, cardano-binary
, cardano-crypto-class
, cardano-binary ==1.5.0
, cardano-crypto-class ==2.0.0
, cardano-ledger-alonzo
, cardano-ledger-alonzo-test
, cardano-ledger-babbage
Expand All @@ -136,16 +138,16 @@ library
, cardano-ledger-shelley-ma-test
, cardano-ledger-shelley-test
, cardano-prelude
, cardano-slotting
, cardano-slotting ==0.1.0.0
, cborg
, containers
, data-default
, hydra-prelude
, ouroboros-network
, plutus-ledger-api
, plutus-ledger-api ==1.0.0.0
, QuickCheck
, serialise
, stm
, strict-containers
, strict-containers ==0.1.0.0
, text
, time

0 comments on commit 04cb67b

Please sign in to comment.