renames the inputs field of a PartialTx to extraUTxO.
adjusts usages of PartialTx so that field names are used consistently.
Details
The updated name extraUTxO better reflects the fact that this field:
represents an extra source of UTxOs that can be referenced by the inputs of a partial transaction;
is not a set of inputs, and should not be confused with the partial transaction inputs themselves.
In addition, this PR adjusts various places that pattern match on PartialTx values to use named field puns instead of positional pattern matching. This approach helps to maintain consistency of terminology -- if later on we rename any of the fields of a PartialTx, the compiler will remind us to update these pattern matches.
Issue
ADP-3272
Summary
This PR:
inputs
field of aPartialTx
toextraUTxO
.PartialTx
so that field names are used consistently.Details
The updated name
extraUTxO
better reflects the fact that this field:In addition, this PR adjusts various places that pattern match on
PartialTx
values to use named field puns instead of positional pattern matching. This approach helps to maintain consistency of terminology -- if later on we rename any of the fields of aPartialTx
, the compiler will remind us to update these pattern matches.