From 04423714a70ad6699aa3f6a26ec35b0c2f64dbdb Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Mon, 24 Nov 2025 16:25:19 +0100 Subject: [PATCH] feat(cardano): Add `BootstrapWitness` and `Redeemer` fields to `WitnessSet` --- proto/utxorpc/v1beta/cardano/cardano.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/proto/utxorpc/v1beta/cardano/cardano.proto b/proto/utxorpc/v1beta/cardano/cardano.proto index ff22309..765b100 100644 --- a/proto/utxorpc/v1beta/cardano/cardano.proto +++ b/proto/utxorpc/v1beta/cardano/cardano.proto @@ -86,6 +86,8 @@ message WitnessSet { repeated VKeyWitness vkeywitness = 1; // List of VKey witnesses. repeated Script script = 2; // List of scripts. repeated PlutusData plutus_datums = 3; // List of Plutus data elements associated with the transaction. + repeated Redeemer redeemers = 4; // List of redeemers + repeated BootstrapWitness bootstrapWitnesses = 5 // List of bootstrap witnesses } // Auxiliary data not directly tied to the validation process @@ -208,6 +210,14 @@ message Block { uint64 timestamp = 3; // Block ms timestamp } +// Represents bootstrap keys from Byron era +message BootstrapWitness { + bytes vkey = 1; // Verification key. + bytes signature = 2; // Signature generated using the associated private key. + bytes chain_code = 3; // 32 bytes of chain code + bytes attributes = 4; // key attributes +} + // Represents a VKey witness used to sign a transaction. message VKeyWitness { bytes vkey = 1; // Verification key.