From a5a20164c7365eacd71507a2977dc2a3a86c7a27 Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Thu, 18 Jan 2024 15:13:43 +0100 Subject: [PATCH] Update cardano-api 8.37.1 --- .github/workflows/haskell.yml | 2 +- cabal.project | 4 ++-- cardano-cli/cardano-cli.cabal | 8 ++++---- cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs | 2 +- flake.lock | 12 ++++++------ 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 3b22b71f09..23b8b01db3 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -24,7 +24,7 @@ jobs: env: # Modify this value to "invalidate" the cabal cache. - CABAL_CACHE_VERSION: "2024-01-05" + CABAL_CACHE_VERSION: "2024-01-18" concurrency: group: > diff --git a/cabal.project b/cabal.project index 439a88e7b4..26ad521bce 100644 --- a/cabal.project +++ b/cabal.project @@ -13,8 +13,8 @@ repository cardano-haskell-packages -- See CONTRIBUTING for information about these, including some Nix commands -- you need to run if you change them index-state: - , hackage.haskell.org 2024-01-04T07:17:44Z - , cardano-haskell-packages 2024-01-02T14:28:21Z + , hackage.haskell.org 2024-01-16T14:48:13Z + , cardano-haskell-packages 2024-01-18T14:07:29Z packages: cardano-cli diff --git a/cardano-cli/cardano-cli.cabal b/cardano-cli/cardano-cli.cabal index 0f5dc594e2..05c2fb078a 100644 --- a/cardano-cli/cardano-cli.cabal +++ b/cardano-cli/cardano-cli.cabal @@ -196,7 +196,7 @@ library , binary , bytestring , canonical-json - , cardano-api ^>= 8.37.0.0 + , cardano-api ^>= 8.37.1.0 , cardano-binary , cardano-crypto , cardano-crypto-class ^>= 2.1.2 @@ -272,7 +272,7 @@ library cardano-cli-test-lib , exceptions , filepath , hedgehog - , hedgehog-extras ^>= 0.5.1.0 + , hedgehog-extras ^>= 0.6.0.0 , process , text , transformers @@ -296,7 +296,7 @@ test-suite cardano-cli-test , containers , filepath , hedgehog - , hedgehog-extras ^>= 0.5.1.0 + , hedgehog-extras ^>= 0.6.0.0 , tasty , tasty-hedgehog , text @@ -345,7 +345,7 @@ test-suite cardano-cli-golden , directory , filepath , hedgehog ^>= 1.3 - , hedgehog-extras ^>= 0.5.1.0 + , hedgehog-extras ^>= 0.6.0.0 , regex-compat , regex-tdfa , tasty diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs index e5edf4699a..7a0e37fa64 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs @@ -916,7 +916,7 @@ writeLedgerState mOutFile qState@(SerialisedDebugLedgerState serLedgerState) = case mOutFile of Nothing -> case decodeDebugLedgerState qState of - Left bs -> firstExceptT QueryCmdHelpersError $ pPrintCBOR bs + Left (bs, _decoderError) -> firstExceptT QueryCmdHelpersError $ pPrintCBOR bs Right ledgerState -> liftIO . LBS.putStrLn $ Aeson.encode ledgerState Just (File fpath) -> handleIOExceptT (QueryCmdWriteFileError . FileIOError fpath) diff --git a/flake.lock b/flake.lock index cc884678d0..2def5f8d8e 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "CHaP": { "flake": false, "locked": { - "lastModified": 1704207160, - "narHash": "sha256-vvm56KzA6jEkG3mvwh1LEdK4H4FKxeoOJNz90H8l8dQ=", + "lastModified": 1705587531, + "narHash": "sha256-f4emiLT7SQeb9Ghx0TWoCwTMWzlv4u0GLK9eotuz1Sc=", "owner": "input-output-hk", "repo": "cardano-haskell-packages", - "rev": "3df392af2a61d61bdac1afd9c3674f27d6aa8efc", + "rev": "5d4ee8fc7690a01dcb0276348e5edfca5bccbab3", "type": "github" }, "original": { @@ -210,11 +210,11 @@ "hackage": { "flake": false, "locked": { - "lastModified": 1704327783, - "narHash": "sha256-OG8qbo84O5VPuciCz8C8LQPx1kuFxR8mpMR8VwzY14o=", + "lastModified": 1705537393, + "narHash": "sha256-MEaafajuZWk2e2DcI0u4g+9H6eoBYfNGu8JNvDfpSz8=", "owner": "input-output-hk", "repo": "hackage.nix", - "rev": "865ee61ad3992f8beee78731998d50eab002ae39", + "rev": "c66ea06697f6404c27065822f21ed0d30017c2c9", "type": "github" }, "original": {