Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redo tx body construction, with era-dependent fields.
Introduce a TxBodyContent type containing all the tx body fields. This type now covers all eras, including Byron. All the fields other than inputs and outputs are era-dependent: whether they're supported, and if so required or optional. We introduce a slew of types to cover which fields are supported in which eras. This makes a lot of things more uniform. Also complete the conversion functions into the underlying ledger types. This should now provide full support for the current Allegra and Mary eras. It has stubs for the auxiliary scripts which will be supported in the ledger shortly. This patch does not update the tests or CLI. We may yet find we need some more type classes, or extensions to existing classes to make using this convenient.
- Loading branch information
Showing
3 changed files
with
625 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.