IntersectMBO / cardano-api

Cardano API
Apache License 2.0
22 stars 20 forks source link

Update experimental api and propagate #604

Closed Jimbo4350 closed 2 weeks ago

Jimbo4350 commented 1 month ago

Changelog

- description: |
    Introduce new `newtype UnsignedTx` type which aims to eventually replace `data TxBody`
    Introduce new `data Era` type which reduces the number of eras cardano-api exposes. It is only concerned with mainnet and the upcoming era
    Update experimental api and propagate 
    `BalancedTxBody` now returns `UnsignedTx` which is a wrapped cardano-ledger `Tx`. 
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature
  - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context

Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist