Skip to content

Commit

Permalink
Misc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Sep 16, 2024
1 parent d5c9ac7 commit 1eb7b6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cardano-api/gen/Test/Gen/Cardano/Api/Typed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ genTxBodyContent sbe = do
, Api.txValidityUpperBound
, Api.txMetadata
, Api.txAuxScripts
, Api.txSupplementalData = Api.TxSupplementalDataNone
, Api.txSupplementalData = Api.BuildTxWith Api.TxSupplementalDataNone
, Api.txExtraKeyWits
, Api.txProtocolParams
, Api.txWithdrawals
Expand Down
10 changes: 5 additions & 5 deletions cardano-api/internal/Cardano/Api/Tx/Body.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ data TxBodyContent build era
, txValidityUpperBound :: TxValidityUpperBound era
, txMetadata :: TxMetadataInEra era
, txAuxScripts :: TxAuxScripts era
, txSupplementalData :: TxSupplementalData era
, txSupplementalData :: BuildTxWith build (TxSupplementalData era)
, txExtraKeyWits :: TxExtraKeyWitnesses era
, txProtocolParams :: BuildTxWith build (Maybe (LedgerProtocolParameters era))
, txWithdrawals :: TxWithdrawals build era
Expand Down Expand Up @@ -1408,7 +1408,7 @@ defaultTxBodyContent era =
, txFee = defaultTxFee era
, txValidityLowerBound = TxValidityNoLowerBound
, txValidityUpperBound = defaultTxValidityUpperBound era
, txSupplementalData = TxSupplementalDataNone
, txSupplementalData = BuildTxWith TxSupplementalDataNone
, txMetadata = TxMetadataNone
, txAuxScripts = TxAuxScriptsNone
, txExtraKeyWits = TxExtraKeyWitnessesNone
Expand Down Expand Up @@ -1917,7 +1917,7 @@ fromLedgerTxBody sbe scriptValidity body scriptdata mAux =
, txMintValue = fromLedgerTxMintValue sbe body
, txExtraKeyWits = fromLedgerTxExtraKeyWitnesses sbe body
, txProtocolParams = ViewTx
, txSupplementalData = error "ViewTx" -- TODO: Supplementary datums = All datums - redeemers pointing to datums
, txSupplementalData = ViewTx
, txMetadata
, txAuxScripts
, txScriptValidity = scriptValidity
Expand Down Expand Up @@ -2439,9 +2439,9 @@ convScriptData
=> ShelleyBasedEra era
-> [TxOut CtxTx era]
-> [(ScriptWitnessIndex, AnyScriptWitness era)]
-> TxSupplementalData era
-> BuildTxWith BuildTx (TxSupplementalData era)
-> TxBodyScriptData era
convScriptData sbe txOuts scriptWitnesses txSuppDatums =
convScriptData sbe txOuts scriptWitnesses (BuildTxWith txSuppDatums) =
caseShelleyToMaryOrAlonzoEraOnwards
(const TxBodyNoScriptData)
( \w ->
Expand Down

0 comments on commit 1eb7b6d

Please sign in to comment.