Switch Tx
to a data family.
#5000
Labels
💳 technical-debt
Issues related to technical debt we introduced
Tx
to a data family.
#5000
Unlike #4999,
Tx
has changed only twice, since shelley:ShelleyEra
andAlonzoEra
. Therefore this ticket will likely add a little bit more boiler plate. However, it will be very useful, since it will allow us to get rid of superficialnewtype
wrappers around theTx
in a whole varieties of places:During translation in ledger:
cardano-ledger/eras/alonzo/impl/src/Cardano/Ledger/Alonzo/Translation.hs
Line 74 in 4962396
cardano-ledger/eras/babbage/impl/src/Cardano/Ledger/Babbage/Translation.hs
Line 64 in 4962396
In consensus:
There is probably some more that I am missing.
The text was updated successfully, but these errors were encountered: