[x] Updates Cardano libraries to latest release. See also input-output-hk/cardano-haskell#34.
[x] Fix compile errors.
Comments
The CI says style checks failed, but that's not right - PR #25 should hopefully fix it.
Build failure that was fixed:
Building library for cardano-transactions-1.0.0..
[6 of 7] Compiling Data.UTxO.Transaction.Cardano.Shelley ( src/Data/UTxO/Transaction/Cardano/Shelley.hs, .stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/Data/UTxO/Transaction/Cardano/Shelley.o )
/home/rodney/iohk/cardano-transactions/src/Data/UTxO/Transaction/Cardano/Shelley.hs:287:32: error:
• Couldn't match expected type ‘Shelley.Spec.Ledger.Hashing.EraIndependentTxBody’
with actual type ‘Shelley.Spec.Ledger.TxBody.TxBody
Cardano.StandardShelley’
• In the pattern: Cardano.ShelleyTxBody body _
In a pattern binding: (Cardano.ShelleyTxBody body _) = sigData
In an equation for ‘signWith’:
signWith
(ByronSigningKey addrAttrs skey)
(Right (net, inps, outs, sigData, wits))
= Right (net, inps, outs, sigData, byronWit : wits)
where
byronWit
= Cardano.ShelleyBootstrapWitness
$ Ledger.makeBootstrapWitness txHash skey attrs
(Cardano.ShelleyTxBody body _) = sigData
txHash = hashWith serialize' body
attrs = mkAttributes addrAttrs
|
287 | (Cardano.ShelleyTxBody body _) = sigData
| ^^^^
Overview
Comments
The CI says style checks failed, but that's not right - PR #25 should hopefully fix it.
Build failure that was fixed: