Skip to content

Conversation

@palas
Copy link
Contributor

@palas palas commented Sep 18, 2025

Changelog

- description: |
    Added `HasTypeProxy` `FromCBOR`, `ToCBOR`, and `SerialiseAsCBOR ` instances to `TxOut`.
  type:
  - feature
  projects:
  - cardano-api

Context

This PR addresses #955.

How to trust this PR

The test should help with trust. But there is a bit of an issue with ToCBOR instance losing information, so there is a design decision to be make about this. Please, let me know what you think about this.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@palas palas force-pushed the SerialiseAsCBOR-for-TxOut branch from e9c48c5 to 753f06b Compare September 22, 2025 17:19
@palas palas force-pushed the SerialiseAsCBOR-for-TxOut branch from 753f06b to fe0c24c Compare October 21, 2025 21:29
@palas palas requested a review from carbolymer October 21, 2025 21:29
@palas palas force-pushed the SerialiseAsCBOR-for-TxOut branch from fe0c24c to bdb5761 Compare October 21, 2025 21:31
@palas palas force-pushed the SerialiseAsCBOR-for-TxOut branch 3 times, most recently from 8a17ba1 to 2f1e19c Compare October 22, 2025 22:36
@palas palas requested a review from carbolymer October 22, 2025 22:44
@palas palas force-pushed the SerialiseAsCBOR-for-TxOut branch 2 times, most recently from b4aee8d to 64b86af Compare October 27, 2025 13:01
Co-authored-by: Mateusz Galazyn <228866+carbolymer@users.noreply.github.com>
@palas palas force-pushed the SerialiseAsCBOR-for-TxOut branch from 64b86af to 453d6b9 Compare October 27, 2025 13:03
@palas palas enabled auto-merge October 27, 2025 13:05
@palas palas added this pull request to the merge queue Oct 27, 2025
Any commits made after this event will not be merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make a deserialiseFromCbor instance for TxOut

3 participants