diff --git a/protob/messages-tezos.proto b/protob/messages-tezos.proto index 4f3791a058..e429ce8b86 100644 --- a/protob/messages-tezos.proto +++ b/protob/messages-tezos.proto @@ -5,15 +5,6 @@ package hw.trezor.messages.tezos; option java_package = "com.satoshilabs.trezor.lib.protobuf"; option java_outer_classname = "TrezorMessageTezos"; -/** - * Tezos Curve Type - */ -enum TezosCurveType { - Ed25519 = 0; - Secp256k1 = 1; - P256 = 2; -} - /** * Request: Ask device for Tezos address corresponding to address_n path * @start @@ -22,8 +13,7 @@ enum TezosCurveType { */ message TezosGetAddress { repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node - optional TezosCurveType curve = 2 [default=Ed25519]; // Curve to use in trezor - optional bool show_display = 3; // optionally show on display before sending the result + optional bool show_display = 2; // optionally show on display before sending the result } /** @@ -41,8 +31,7 @@ message TezosAddress { */ message TezosGetPublicKey { repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node - optional TezosCurveType curve = 2 [default=Ed25519]; // Curve to use in trezor - optional bool show_display = 3; // Optionally show on display before sending the result + optional bool show_display = 2; // Optionally show on display before sending the result } /** @@ -60,13 +49,12 @@ message TezosPublicKey { */ message TezosSignTx { repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node - optional TezosCurveType curve = 2 [default=Ed25519]; // Curve to use in trezor - optional bytes branch = 3; + optional bytes branch = 2; - optional TezosRevealOp reveal = 4; // Tezos reveal operation (may be bundled with other op) - optional TezosTransactionOp transaction = 5; // Tezos transaction operation - optional TezosOriginationOp origination = 6; // Tezos origination operation - optional TezosDelegationOp delegation = 7; // Tezos delegation operation + optional TezosRevealOp reveal = 3; // Tezos reveal operation (may be bundled with other op) + optional TezosTransactionOp transaction = 4; // Tezos transaction operation + optional TezosOriginationOp origination = 5; // Tezos origination operation + optional TezosDelegationOp delegation = 6; // Tezos delegation operation /* * Tezos contract ID */