Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cardano-api/src/Cardano/Api/Internal/Orphans/Misc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import Ouroboros.Consensus.Cardano.Block (EraMismatch (..))
import PlutusLedgerApi.Common qualified as P

import Codec.Binary.Bech32 qualified as Bech32
import Data.Bits (Bits)
import Data.Data (Data)
import Data.ListMap (ListMap)
import Data.ListMap qualified as ListMap
Expand Down Expand Up @@ -64,6 +65,8 @@ deriving newtype instance Integral L.Coin

deriving newtype instance Num L.Coin

deriving newtype instance Bits L.Coin

-- We wrap the individual records with Last and use Last's Semigroup instance.
-- In this instance we take the last 'Just' value or the only 'Just' value
instance Semigroup (Ledger.ShelleyPParams StrictMaybe era) where
Expand Down
14 changes: 8 additions & 6 deletions cardano-rpc/cardano-rpc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ library gen
exposed-modules:
Proto.Cardano.Rpc.Node
Proto.Cardano.Rpc.Node_Fields
Proto.Utxorpc.V1alpha.Cardano.Cardano
Proto.Utxorpc.V1alpha.Cardano.Cardano_Fields
Proto.Utxorpc.V1alpha.Query.Query
Proto.Utxorpc.V1alpha.Query.Query_Fields
Proto.Utxorpc.V1alpha.Submit.Submit
Proto.Utxorpc.V1alpha.Submit.Submit_Fields
Proto.Utxorpc.V1beta.Cardano.Cardano
Proto.Utxorpc.V1beta.Cardano.Cardano_Fields
Proto.Utxorpc.V1beta.Query.Query
Proto.Utxorpc.V1beta.Query.Query_Fields
Proto.Utxorpc.V1beta.Submit.Submit
Proto.Utxorpc.V1beta.Submit.Submit_Fields

build-depends:
proto-lens-protobuf-types,
Expand All @@ -122,6 +122,7 @@ test-suite cardano-rpc-test
cardano-rpc,
containers,
hedgehog,
hedgehog-extras,
rio,
tasty,
tasty-hedgehog,
Expand All @@ -135,3 +136,4 @@ test-suite cardano-rpc-test
other-modules:
Test.Cardano.Rpc.ProtocolParameters
Test.Cardano.Rpc.TxOutput
Test.Cardano.Rpc.Type
7,712 changes: 0 additions & 7,712 deletions cardano-rpc/gen/Proto/Utxorpc/V1alpha/Cardano/Cardano.hs

This file was deleted.

Loading
Loading