Skip to content

Conversation

@carbolymer
Copy link
Contributor

@carbolymer carbolymer commented Nov 17, 2025

This PR adds two changes:

  1. Marks optional fields in TxOutput types hierarchy with optional modifier. This results in cleaner code generated, for example in Haskell, where you can explicitly say that the field is not present. Note that this is not changing the wire format: https://protobuf.dev/programming-guides/proto3/#field-labels
  2. Adds Plutus V4 fields. Those fields are not in use yet in current cardano era, but they are already present in cardano-node Haskell code.

@carbolymer carbolymer force-pushed the add-optional-fields-in-TxOutput-hierarchy branch from 7102b94 to fe25af5 Compare December 23, 2025 13:47
@carbolymer carbolymer changed the base branch from main to chore/initialize-v1beta December 23, 2025 13:47
@scarmuega scarmuega merged commit 2f8b147 into utxorpc:chore/initialize-v1beta Jan 5, 2026
1 of 2 checks passed
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.

2 participants