-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dependency constraints on local-cluster
#4997
Merged
HeinrichApfelmus
merged 3 commits into
master
from
HeinrichApfelmus/constraints-local-cluster
Feb 26, 2025
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,9 +116,6 @@ import Control.Concurrent | |
import Control.Exception | ||
( throwIO | ||
) | ||
import Control.Monad.Extra | ||
( concatMapM | ||
) | ||
import Control.Monad.IO.Class | ||
( liftIO | ||
) | ||
|
@@ -131,9 +128,6 @@ import Data.Functor | |
import Data.List | ||
( unfoldr | ||
) | ||
import Data.Tuple.Extra | ||
( dupe | ||
) | ||
import Numeric.Natural | ||
( Natural | ||
) | ||
|
@@ -263,7 +257,7 @@ anyFunds mnemonicRange mlength style start end networkTag= FaucetM $ do | |
end | ||
pure $ ias <&> \ia -> | ||
(unFaucetAddress . unIndexedAddress $ ia) | ||
concatMapM run' $ enumRange mnemonicRange | ||
concat <$> mapM run' (enumRange mnemonicRange) | ||
|
||
shelleyMnemonicRange :: MnemonicRange | ||
shelleyMnemonicRange = MnemonicRange 0 399 | ||
|
@@ -570,7 +564,7 @@ hwLedgerFunds networkTag = do | |
addrXPrv = deriveAddressPrivateKey accXPrv Icarus.UTxOExternal | ||
paymentKeyIxs :: [Index (AddressIndexDerivationType Icarus) PaymentK] = | ||
let firstIx = minBound | ||
in firstIx : unfoldr (fmap dupe . nextIndex) firstIx | ||
in firstIx : unfoldr (fmap (\x -> (x, x)) . nextIndex) firstIx | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
|
||
massiveWalletRange :: MnemonicRange | ||
massiveWalletRange = nextRange 1 preregKeyWalletRange | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,70 +98,74 @@ library | |
|
||
build-depends: | ||
, address-derivation-discovery | ||
, aeson | ||
, aeson-pretty | ||
, base | ||
, base58-bytestring | ||
, bytestring | ||
, cardano-addresses | ||
, cardano-api | ||
, cardano-binary | ||
, cardano-cli | ||
, cardano-data | ||
, cardano-ledger-api | ||
, aeson >= 2.2 && < 2.3 | ||
, aeson-pretty >= 0.8.10 && < 0.9 | ||
, base >= 4.14 && < 5 | ||
, base58-bytestring >= 0.1 && < 0.2 | ||
, bytestring >= 0.10.6 && < 0.13 | ||
, cardano-addresses == 3.12.0 | ||
, cardano-api >= 10.1 && < 10.2 | ||
, cardano-binary == 1.7.1.0 | ||
, cardano-cli >= 10.1 && < 10.2 | ||
, cardano-data >= 1.2.3.1 && < 1.3 | ||
, cardano-ledger-api >= 1.9.2.0 && < 1.10 | ||
, cardano-ledger-core | ||
, cardano-ledger-shelley | ||
, cardano-wallet-application-extras | ||
, cardano-wallet-launcher | ||
, cardano-wallet-primitive | ||
, cardano-wallet-test-utils | ||
, cborg | ||
, comonad | ||
, containers | ||
, contra-tracer | ||
, cborg >= 0.2.1 && < 0.3 | ||
-- comonad is used by foldl | ||
, comonad >=4.0 && < 6 | ||
, containers >= 0.5 && < 0.8 | ||
, contra-tracer >= 0.1 && < 0.3 | ||
, crypto-primitives | ||
, directory | ||
, extra | ||
, directory >= 1.3.8 && < 1.4 | ||
, faucet | ||
, filepath | ||
, foldl | ||
, generic-lens | ||
, hkd | ||
, http-client | ||
, http-media | ||
, insert-ordered-containers | ||
, int-cast | ||
, io-classes | ||
, iohk-monitoring | ||
, filepath >= 1.4.300.1 && < 1.6 | ||
, foldl >= 1.4.17 && < 1.5 | ||
, generic-lens >= 2.2.2.0 && < 2.3 | ||
, hkd >= 0.2.1 && < 0.3 | ||
, http-client >= 0.7.17 && < 0.8 | ||
, http-media >= 0.8.1.1 && < 0.9 | ||
-- insert-ordered-containers is used by openapi3 | ||
, insert-ordered-containers >=0.2.3 && < 0.3 | ||
, int-cast >= 0.2.0.0 && < 0.3 | ||
, io-classes >= 1.0 && < 1.8 | ||
, iohk-monitoring >= 0.2 && < 0.3 | ||
, iohk-monitoring-extra | ||
, lens | ||
, lens-aeson | ||
, machines | ||
, memory | ||
, mtl | ||
, network | ||
, OddWord | ||
, openapi3 | ||
, optparse-applicative | ||
, lens >= 5.2.3 && < 5.4 | ||
, lens-aeson >= 1.2.3 && < 1.3 | ||
, machines >= 0.7.3 && < 0.8 | ||
, memory >= 0.18.0 && < 0.19 | ||
, mtl >= 2.3.1 && < 2.4 | ||
, network >= 3.1.2.5 && < 3.2 | ||
, OddWord >= 1.0.1.1 && < 1.1 | ||
-- openapi3 requires a fork https://github.com/paolino/openapi3 | ||
-- commit f22c31611c295637a3e72b341cd1c56d1d87b993 | ||
, openapi3 >= 3.2.3 && < 3.3 | ||
, optparse-applicative >= 0.18.1.0 && < 0.19 | ||
, ouroboros-network | ||
, ouroboros-network-api | ||
, pathtype | ||
, profunctors | ||
, QuickCheck | ||
, retry | ||
, servant | ||
, servant-client | ||
, servant-server | ||
, tagged | ||
, temporary | ||
, ouroboros-network-api == 0.10.0.0 | ||
, pathtype >= 0.8.1.3 && < 0.9 | ||
, profunctors >= 5.6.2 && < 5.7 | ||
, QuickCheck >= 2.14 && < 2.16 | ||
, retry >= 0.9.3 && < 0.10 | ||
, servant >= 0.20.2 && < 0.21 | ||
, servant-client >= 0.20.2 && < 0.21 | ||
, servant-server >= 0.20.2 && < 0.21 | ||
, tagged >= 0.8.8 && < 0.9 | ||
, temporary >= 1.3 && < 1.4 | ||
, temporary-extra | ||
, text | ||
, text >= 1.2 && < 2.2 | ||
, text-class | ||
, time | ||
, typed-process | ||
, unliftio | ||
, warp | ||
, yaml | ||
, time >= 1.12.2 && < 1.15 | ||
, typed-process >= 0.2.12.0 && < 0.3 | ||
, unliftio >= 0.2.25 && < 0.3 | ||
-- newer versions of warp depend on crypton | ||
, warp >= 3.3.25 && < 3.3.26 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
, yaml >= 0.11.7 && < 0.12 | ||
|
||
library local-cluster-process | ||
import: language | ||
|
@@ -179,7 +183,7 @@ library local-cluster-process | |
, cardano-wallet-primitive | ||
, contra-tracer | ||
, directory | ||
, extra | ||
, extra >= 1.7.16 && < 1.9 | ||
, filepath | ||
, iohk-monitoring-extra | ||
, local-cluster | ||
|
@@ -202,17 +206,17 @@ executable local-cluster | |
, cardano-wallet-primitive | ||
, contra-tracer | ||
, directory | ||
, extra | ||
, extra >= 1.7.16 && < 1.9 | ||
, iohk-monitoring-extra | ||
, lens | ||
, local-cluster | ||
, mtl | ||
, pathtype | ||
, pretty-simple | ||
, pretty-simple >= 4.1.2.0 && < 4.2 | ||
, temporary-extra | ||
, text | ||
, unliftio | ||
, with-utf8 | ||
, with-utf8 >= 1.1.0 && < 1.2 | ||
|
||
common test-common | ||
import: language | ||
|
@@ -221,7 +225,7 @@ common test-common | |
build-depends: | ||
, aeson | ||
, aeson-pretty | ||
, aeson-qq | ||
, aeson-qq >= 0.8.4 && < 0.9 | ||
, base | ||
, bytestring | ||
, cardano-addresses | ||
|
@@ -239,23 +243,23 @@ common test-common | |
, cardano-wallet-test-utils | ||
, containers | ||
, contra-tracer | ||
, extra | ||
, extra >= 1.7.16 && < 1.9 | ||
, foldl | ||
, hspec | ||
, hspec-golden | ||
, hspec >= 2.11.0 && < 2.12 | ||
, hspec-golden >= 0.2.2 && < 0.3 | ||
, iohk-monitoring-extra | ||
, local-cluster | ||
, local-cluster:local-cluster-process | ||
, mtl | ||
, openapi3 | ||
, ouroboros-consensus-cardano | ||
, ouroboros-network | ||
, ouroboros-consensus-cardano >= 0.20 && < 0.21 | ||
, ouroboros-network >= 0.17 && < 0.18 | ||
, pathtype | ||
, QuickCheck | ||
, streaming | ||
, streaming >= 0.2.4 && < 0.3 | ||
, time | ||
, unliftio | ||
, with-utf8 | ||
, with-utf8 >= 1.1.0 && < 1.2 | ||
|
||
build-tool-depends: hspec-discover:hspec-discover | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍