Skip to content

Commit

Permalink
Upgrade cardano-api-10.1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer committed Oct 21, 2024
1 parent 235cb3e commit fdf01fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cardano-cli/cardano-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Byron/Tx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Helpers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fdf01fe

Please sign in to comment.