@@ -814,13 +814,13 @@ toShelleyTxOut sbe = shelleyBasedEraConstraints sbe $ \case
814814 .~ toBabbageTxOutDatumUTxO txoutdata
815815 & L. referenceScriptTxOutL
816816 .~ refScriptToShelleyScript sbe refScript
817- -- TODO: this pattern shows up as redundant
818- -- AlonzoEraOnwardsDijkstra ->
819- -- L.mkBasicTxOut (toShelleyAddr addr) value
820- -- & L.datumTxOutL
821- -- .~ toBabbageTxOutDatumUTxO txoutdata
822- -- & L.referenceScriptTxOutL
823- -- .~ refScriptToShelleyScript sbe refScript
817+ -- TODO: this pattern shows up as redundant
818+ -- AlonzoEraOnwardsDijkstra ->
819+ -- L.mkBasicTxOut (toShelleyAddr addr) value
820+ -- & L.datumTxOutL
821+ -- .~ toBabbageTxOutDatumUTxO txoutdata
822+ -- & L.referenceScriptTxOutL
823+ -- .~ refScriptToShelleyScript sbe refScript
824824 )
825825 sbe
826826
@@ -855,13 +855,13 @@ toShelleyTxOutAny sbe = shelleyBasedEraConstraints sbe $ \case
855855 .~ toBabbageTxOutDatum txoutdata
856856 & L. referenceScriptTxOutL
857857 .~ refScriptToShelleyScript sbe refScript
858- -- TODO: this pattern shows up as redundant
859- -- AlonzoEraOnwardsDijkstra ->
860- -- L.mkBasicTxOut (toShelleyAddr addr) value
861- -- & L.datumTxOutL
862- -- .~ toBabbageTxOutDatum txoutdata
863- -- & L.referenceScriptTxOutL
864- -- .~ refScriptToShelleyScript sbe refScript
858+ -- TODO: this pattern shows up as redundant
859+ -- AlonzoEraOnwardsDijkstra ->
860+ -- L.mkBasicTxOut (toShelleyAddr addr) value
861+ -- & L.datumTxOutL
862+ -- .~ toBabbageTxOutDatum txoutdata
863+ -- & L.referenceScriptTxOutL
864+ -- .~ refScriptToShelleyScript sbe refScript
865865 )
866866 sbe
867867
@@ -924,24 +924,25 @@ fromShelleyTxOut sbe ledgerTxOut = shelleyBasedEraConstraints sbe $ do
924924 where
925925 datum = ledgerTxOut ^. L. datumTxOutL
926926 mRefScript = ledgerTxOut ^. L. referenceScriptTxOutL
927- -- TODO: this pattern shows up as redundant
928- -- ShelleyBasedEraDijkstra ->
929- -- TxOut
930- -- addressInEra
931- -- txOutValue
932- -- ( fromBabbageTxOutDatum
933- -- AlonzoEraOnwardsDijkstra
934- -- BabbageEraOnwardsDijkstra
935- -- datum
936- -- )
937- -- ( case mRefScript of
938- -- SNothing -> ReferenceScriptNone
939- -- SJust refScript ->
940- -- fromShelleyScriptToReferenceScript ShelleyBasedEraDijkstra refScript
941- -- )
942- -- where
943- -- datum = ledgerTxOut ^. L.datumTxOutL
944- -- mRefScript = ledgerTxOut ^. L.referenceScriptTxOutL
927+
928+ -- TODO: this pattern shows up as redundant
929+ -- ShelleyBasedEraDijkstra ->
930+ -- TxOut
931+ -- addressInEra
932+ -- txOutValue
933+ -- ( fromBabbageTxOutDatum
934+ -- AlonzoEraOnwardsDijkstra
935+ -- BabbageEraOnwardsDijkstra
936+ -- datum
937+ -- )
938+ -- ( case mRefScript of
939+ -- SNothing -> ReferenceScriptNone
940+ -- SJust refScript ->
941+ -- fromShelleyScriptToReferenceScript ShelleyBasedEraDijkstra refScript
942+ -- )
943+ -- where
944+ -- datum = ledgerTxOut ^. L.datumTxOutL
945+ -- mRefScript = ledgerTxOut ^. L.referenceScriptTxOutL
945946
946947-- ----------------------------------------------------------------------------
947948-- Transaction output values (era-dependent)
0 commit comments