Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer committed Nov 4, 2024
1 parent 04c382b commit 15f8900
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cardano-cli/src/Cardano/CLI/Json/Friendly.hs
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,8 @@ friendlyLovelace value = String $ docToText (pretty value)
friendlyMintValue :: TxMintValue ViewTx era -> Aeson.Value
friendlyMintValue = \case
TxMintNone -> Null
TxMintValue sbe v -> friendlyValue (maryEraOnwardsToShelleyBasedEra sbe) . mconcat $ map fst v
txMintValue@(TxMintValue w _) ->
friendlyValue (maryEraOnwardsToShelleyBasedEra w) (txMintValueToValue txMintValue)

friendlyTxOutValue :: TxOutValue era -> Aeson.Value
friendlyTxOutValue = \case
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Read.hs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ readScriptWitness
datumOrFile
redeemerOrFile
execUnits
mPid
_mPid -- TODO remove
) = do
caseShelleyToAlonzoOrBabbageEraOnwards
( const $
Expand Down

0 comments on commit 15f8900

Please sign in to comment.