Skip to content

Switch Tx to a data family. #5000

Open
@lehins

Description

@lehins

Unlike #4999, Tx has changed only twice, since shelley: ShelleyEra and AlonzoEra. 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 superficial newtype wrappers around the Tx in a whole varieties of places:

During translation in ledger:

In consensus:

There is probably some more that I am missing.

Metadata

Metadata

Assignees

Labels

💳 technical-debtIssues related to technical debt we introduced

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions