@@ -866,7 +866,7 @@ runTxBuildRaw
866
866
proposals
867
867
mCurrentTreasuryValueAndDonation
868
868
869
- first TxCmdTxBodyError $ createTransactionBody sbe txBodyContent
869
+ first TxCmdTxBodyError $ createTransactionBody sbe mempty txBodyContent
870
870
871
871
constructTxBodyContent
872
872
:: forall era
@@ -944,7 +944,8 @@ constructTxBodyContent
944
944
readOnlyRefIns
945
945
946
946
validatedCollateralTxIns <- validateTxInsCollateral sbe txinsc
947
- validatedRefInputs <- validateTxInsReference sbe allReferenceInputs
947
+ -- TODO provide UTXO and datum
948
+ validatedRefInputs <- validateTxInsReference sbe allReferenceInputs mempty
948
949
validatedTotCollateral <-
949
950
first TxCmdNotSupportedInEraValidationError $ validateTxTotalCollateral sbe mTotCollateral
950
951
validatedRetCol <-
@@ -1214,12 +1215,14 @@ validateTxInsCollateral era txins = do
1214
1215
& maybe (txFeatureMismatch era TxFeatureCollateral ) Right
1215
1216
1216
1217
validateTxInsReference
1217
- :: ShelleyBasedEra era
1218
+ :: Applicative (BuildTxWith build )
1219
+ => ShelleyBasedEra era
1218
1220
-> [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))
1223
1226
& maybe (txFeatureMismatch sbe TxFeatureReferenceInputs ) Right
1224
1227
1225
1228
getAllReferenceInputs
0 commit comments