@@ -866,7 +866,7 @@ runTxBuildRaw
866866 proposals
867867 mCurrentTreasuryValueAndDonation
868868
869- first TxCmdTxBodyError $ createTransactionBody sbe txBodyContent
869+ first TxCmdTxBodyError $ createTransactionBody sbe mempty txBodyContent
870870
871871constructTxBodyContent
872872 :: forall era
@@ -944,7 +944,8 @@ constructTxBodyContent
944944 readOnlyRefIns
945945
946946 validatedCollateralTxIns <- validateTxInsCollateral sbe txinsc
947- validatedRefInputs <- validateTxInsReference sbe allReferenceInputs
947+ -- TODO provide UTXO and datum
948+ validatedRefInputs <- validateTxInsReference sbe allReferenceInputs mempty
948949 validatedTotCollateral <-
949950 first TxCmdNotSupportedInEraValidationError $ validateTxTotalCollateral sbe mTotCollateral
950951 validatedRetCol <-
@@ -1214,12 +1215,14 @@ validateTxInsCollateral era txins = do
12141215 & maybe (txFeatureMismatch era TxFeatureCollateral ) Right
12151216
12161217validateTxInsReference
1217- :: ShelleyBasedEra era
1218+ :: Applicative (BuildTxWith build )
1219+ => ShelleyBasedEra era
12181220 -> [TxIn ]
1219- -> Either TxCmdError (TxInsReference era )
1220- validateTxInsReference _ [] = return TxInsReferenceNone
1221- validateTxInsReference sbe allRefIns = do
1222- forShelleyBasedEraInEonMaybe sbe (\ supported -> TxInsReference supported allRefIns)
1221+ -> Set HashableScriptData
1222+ -> Either TxCmdError (TxInsReference build era )
1223+ validateTxInsReference _ [] _ = return TxInsReferenceNone
1224+ validateTxInsReference sbe allRefIns datumSet = do
1225+ forShelleyBasedEraInEonMaybe sbe (\ supported -> TxInsReference supported allRefIns (pure datumSet))
12231226 & maybe (txFeatureMismatch sbe TxFeatureReferenceInputs ) Right
12241227
12251228getAllReferenceInputs
0 commit comments