Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ txOutSourceToText = \case
TxOutFromOutput txIx -> "Output: " <> T.pack (show txIx)

transBoundedRational :: BoundedRational r => r -> PV3.Rational
transBoundedRational = PV3.fromGHC . unboundRational
transBoundedRational = PV3.fromHaskellRatio . unboundRational
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bezirg, which version of plutus-ledger-api started exporting fromHaskellRatio? We need to add a lower bound in the cabal file on that version in order to make sure cabal doesn't try to build an incompatible version.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be plutus 1.56.0.0 which is not released yet. @Unisay is on it to release it with the way you proposed in ChaP


transDataHash :: DataHash -> PV1.DatumHash
transDataHash safe = PV1.DatumHash (transSafeHash safe)
Expand Down
Loading