Skip to content

Commit

Permalink
Rename getAlonzoSpecificDetails at getScriptWitnessDetails
Browse files Browse the repository at this point in the history
  • Loading branch information
palas committed Nov 27, 2024
1 parent 80db7b6 commit 9396526
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cardano-cli/src/Cardano/CLI/Json/Friendly.hs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ friendlyTxBodyImpl
]
++ ( monoidForEraInEon @AlonzoEraOnwards
era
(`getAlonzoSpecificDetails` tb)
(`getScriptWitnessDetails` tb)
)
++ ( monoidForEraInEon @ConwayEraOnwards
era
Expand Down Expand Up @@ -305,9 +305,9 @@ data EraIndependentPlutusScriptPurpose
| Voting
| Proposing

getAlonzoSpecificDetails
getScriptWitnessDetails
:: forall era. AlonzoEraOnwards era -> TxBody era -> [Aeson.Pair]
getAlonzoSpecificDetails aeo tb =
getScriptWitnessDetails aeo tb =
let ShelleyTx _ ledgerTx = makeSignedTransaction [] tb
in [ "redeemers" .= friendlyRedeemers ledgerTx
, "scripts" .= friendlyScriptData ledgerTx
Expand Down

0 comments on commit 9396526

Please sign in to comment.