You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove legacy `TxOut ctx era` from the Compatible and Experimental APIs.
7
+
8
+
`createCompatibleTx` now takes `[Exp.TxOut (ShelleyLedgerEra era)]` plus an explicit `Map L.DataHash (L.Data (ShelleyLedgerEra era))` for supplemental datums, mirroring how it already takes `Exp.TxCertificates` / `Exp.TxVotingProcedures` / `Exp.TxProposalProcedures`. The legacy `TxOut CtxTx era` bundled supplemental datums inside outputs; `Exp.TxOut` only carries the datum hash (the full datum lives in the witness set), so callers now thread them in explicitly.
9
+
10
+
Deletes the legacy bridge helpers re-exported from `Cardano.Api.Experimental.Tx`:
11
+
12
+
- `fromLegacyTxOut`
13
+
- `legacyDatumToDatum`
14
+
- `supplementalDatumFromLegacy`
15
+
- `toLedgerDatum`
16
+
- `DatumDecodingError`
17
+
18
+
These existed solely to convert legacy `TxOut CtxTx era` / `TxOutDatum CtxTx era` values into the experimental world. With the Compatible API no longer accepting the legacy type, they had no remaining in-repo callers. They are not re-exported from top-level `Cardano.Api`.
19
+
20
+
The legacy `TxOut ctx era` type itself is unchanged — `UTxO`, `Tx` body construction, fee/balancing, `LedgerState`, and Byron all still depend on it.
0 commit comments