diff --git a/cardano-cli/cardano-cli.cabal b/cardano-cli/cardano-cli.cabal index ee67fbc0e..6a819b823 100644 --- a/cardano-cli/cardano-cli.cabal +++ b/cardano-cli/cardano-cli.cabal @@ -196,7 +196,7 @@ library binary, bytestring, canonical-json, - cardano-api ^>=10.0, + cardano-api ^>=10.1, cardano-binary, cardano-crypto, cardano-crypto-class ^>=2.1.2, diff --git a/cardano-cli/src/Cardano/CLI/Byron/Tx.hs b/cardano-cli/src/Cardano/CLI/Byron/Tx.hs index 0fc3099ef..006087663 100644 --- a/cardano-cli/src/Cardano/CLI/Byron/Tx.hs +++ b/cardano-cli/src/Cardano/CLI/Byron/Tx.hs @@ -179,7 +179,7 @@ txSpendUTxOByronPBFT nId sk txIns outs = do in makeSignedByronTransaction [bWit] txBody fromByronWitness - :: Byron.SomeByronSigningKey -> NetworkId -> L.Annotated L.Tx ByteString -> KeyWitness ByronEra + :: Byron.SomeByronSigningKey -> NetworkId -> L.Annotated Byron.Tx ByteString -> KeyWitness ByronEra fromByronWitness bw nId txBody = case bw of Byron.AByronSigningKeyLegacy sk -> makeByronKeyWitness nId txBody sk diff --git a/cardano-cli/src/Cardano/CLI/Helpers.hs b/cardano-cli/src/Cardano/CLI/Helpers.hs index 1e0687b8a..04a5be485 100644 --- a/cardano-cli/src/Cardano/CLI/Helpers.hs +++ b/cardano-cli/src/Cardano/CLI/Helpers.hs @@ -126,7 +126,7 @@ validateCBOR cborObject bs = void $ decodeCBOR bs (L.fromCBOR :: L.Decoder s Byron.Certificate) Right "Valid Byron delegation certificate." CBORTxByron -> do - void $ decodeCBOR bs (L.fromCBOR :: L.Decoder s L.Tx) + void $ decodeCBOR bs (L.fromCBOR :: L.Decoder s Byron.Tx) Right "Valid Byron Tx." CBORUpdateProposalByron -> do void $ decodeCBOR bs (L.fromCBOR :: L.Decoder s Byron.Proposal)