From ee7cd55f9ca6cdd1760369743185147315160af4 Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Mon, 24 Nov 2025 15:22:02 +0100 Subject: [PATCH] feat(cardano): Rename `NativeScript.script_pubkey` to `script_pubkey_hash` Other fields containing hashes have `_hash` prefix. This change renames the field to follow the suit. --- proto/utxorpc/v1beta/cardano/cardano.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/utxorpc/v1beta/cardano/cardano.proto b/proto/utxorpc/v1beta/cardano/cardano.proto index ff22309..d1031a4 100644 --- a/proto/utxorpc/v1beta/cardano/cardano.proto +++ b/proto/utxorpc/v1beta/cardano/cardano.proto @@ -217,7 +217,7 @@ message VKeyWitness { // Represents a native script in Cardano. message NativeScript { oneof native_script { - bytes script_pubkey = 1; // Script based on an address key hash. + bytes script_pubkey_hash = 1; // Script based on an address key hash. NativeScriptList script_all = 2; // Script that requires all nested scripts to be satisfied. NativeScriptList script_any = 3; // Script that requires any of the nested scripts to be satisfied. ScriptNOfK script_n_of_k = 4; // Script that requires k out of n nested scripts to be satisfied.