From c23cc2bcbefe81ea67b34cd9c979dc17636b62ef Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Mon, 24 Nov 2025 14:54:36 +0100 Subject: [PATCH] feat(cardano): Add `InfoAction` type representing info action governance action --- proto/utxorpc/v1beta/cardano/cardano.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proto/utxorpc/v1beta/cardano/cardano.proto b/proto/utxorpc/v1beta/cardano/cardano.proto index ff22309..a44331c 100644 --- a/proto/utxorpc/v1beta/cardano/cardano.proto +++ b/proto/utxorpc/v1beta/cardano/cardano.proto @@ -129,9 +129,7 @@ message GovernanceAction { NoConfidenceAction no_confidence_action = 4; // UpdateCommitteeAction update_committee_action = 5; // Update the Constitution Committee NewConstitutionAction new_constitution_action = 6; // Replace the Constitution - - // TODO: revisit if there's a better way to handle this option because it doesn't actually need a value but proto syntax needs to require it - uint32 info_action = 7; // Info action should just be the integer number 6 + InfoAction info_action = 7; // Info action } } @@ -177,6 +175,8 @@ message NewConstitutionAction { Constitution constitution = 2; // The Constitution proposed } +message InfoAction {} + message Constitution { Anchor anchor = 1; // Anchor to the new document bytes hash = 2; // Hash of the document