diff --git a/.changes/20270801_updates.yml b/.changes/20270801_updates.yml new file mode 100644 index 0000000000..e702882a67 --- /dev/null +++ b/.changes/20270801_updates.yml @@ -0,0 +1,6 @@ +project: cardano-api +pr: 1275 +kind: + - maintenance +description: | + Minor updates including updating index-states and removing redundant orphan instances diff --git a/cabal.project b/cabal.project index 4c8d685422..76468b9651 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 2026-07-01T00:33:51Z - , cardano-haskell-packages 2026-06-29T12:05:19Z + , hackage.haskell.org 2026-08-02T17:21:34Z + , cardano-haskell-packages 2026-08-01T07:19:24Z active-repositories: , :rest @@ -155,8 +155,6 @@ if impl(ghc >=9.14) , grapesy:tls , grpc-spec:base , grpc-spec:containers - , hedgehog-quickcheck:QuickCheck - , http2-tls:tls , lens-family:containers , lens-family-core:containers , lsm-tree:data-elevator diff --git a/cardano-api/src/Cardano/Api/Internal/Orphans/Serialisation.hs b/cardano-api/src/Cardano/Api/Internal/Orphans/Serialisation.hs index aad6036ba9..785de38b13 100644 --- a/cardano-api/src/Cardano/Api/Internal/Orphans/Serialisation.hs +++ b/cardano-api/src/Cardano/Api/Internal/Orphans/Serialisation.hs @@ -213,12 +213,6 @@ deriving anyclass instance ToJSON L.VotingPeriod deriving anyclass instance ToJSON L.Withdrawals -instance (ToJSONKey k, ToJSON v) => ToJSON (NonEmptyMap k v) where - toJSON = toJSON . NonEmptyMap.toMap - -instance ToJSON v => ToJSON (NonEmptySet v) where - toJSON = toJSON . NonEmptySet.toSet - deriving anyclass instance ( ToJSON (L.PredicateFailure (L.EraRule "UTXOW" ledgerera)) , ToJSON (L.PredicateFailure (L.EraRule "DELEGS" ledgerera)) diff --git a/flake.lock b/flake.lock index 0bc567ecd1..5638a55eac 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "CHaP": { "flake": false, "locked": { - "lastModified": 1782769557, - "narHash": "sha256-tCYMTwH15mNajHybvC3KGVPBPMlLlqIOYE0ZgcqRkJU=", + "lastModified": 1785570519, + "narHash": "sha256-BHS8utevwG8smiRJzgKqk/Y+az2r4r8Zs9dD3PL+oPo=", "owner": "intersectmbo", "repo": "cardano-haskell-packages", - "rev": "3ee6b1ecce230d62f0083590f38c4ae3457da226", + "rev": "3b065389055ced74890b09d772e3b1fe81df49ef", "type": "github" }, "original": { @@ -439,11 +439,11 @@ "hackageNix": { "flake": false, "locked": { - "lastModified": 1782962365, - "narHash": "sha256-60rASaqJX9GbdbbHappidbeH8kSxWYF9LvxK9u2A/Is=", + "lastModified": 1785728842, + "narHash": "sha256-3R5qunuAddR7849eVthkALRrKcXLPMd2LeQVPH/+lRs=", "owner": "input-output-hk", "repo": "hackage.nix", - "rev": "f4163dbd37cd4000a755bd242df326e7870c1b88", + "rev": "a69c841fe2cbb3571739018f9efb7f533279fb15", "type": "github" }, "original": {