mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
vendor: trezor-common update; protobuf: regen
This commit is contained in:
parent
3ceb9c42ee
commit
0323355299
@ -12,7 +12,7 @@ if __debug__:
|
|||||||
List = None # type: ignore
|
List = None # type: ignore
|
||||||
|
|
||||||
|
|
||||||
class CardanoSignTransaction(p.MessageType):
|
class CardanoSignTx(p.MessageType):
|
||||||
MESSAGE_WIRE_TYPE = 303
|
MESSAGE_WIRE_TYPE = 303
|
||||||
FIELDS = {
|
FIELDS = {
|
||||||
1: ('inputs', CardanoTxInputType, p.FLAG_REPEATED),
|
1: ('inputs', CardanoTxInputType, p.FLAG_REPEATED),
|
@ -3,7 +3,7 @@
|
|||||||
import protobuf as p
|
import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
class CardanoSignedTransaction(p.MessageType):
|
class CardanoSignedTx(p.MessageType):
|
||||||
MESSAGE_WIRE_TYPE = 310
|
MESSAGE_WIRE_TYPE = 310
|
||||||
FIELDS = {
|
FIELDS = {
|
||||||
1: ('tx_hash', p.BytesType, 0),
|
1: ('tx_hash', p.BytesType, 0),
|
@ -93,8 +93,6 @@ TezosSignTx = 152
|
|||||||
TezosSignedTx = 153
|
TezosSignedTx = 153
|
||||||
TezosGetPublicKey = 154
|
TezosGetPublicKey = 154
|
||||||
TezosPublicKey = 155
|
TezosPublicKey = 155
|
||||||
StellarGetPublicKey = 200
|
|
||||||
StellarPublicKey = 201
|
|
||||||
StellarSignTx = 202
|
StellarSignTx = 202
|
||||||
StellarTxOpRequest = 203
|
StellarTxOpRequest = 203
|
||||||
StellarGetAddress = 207
|
StellarGetAddress = 207
|
||||||
@ -114,14 +112,14 @@ StellarSignedTx = 230
|
|||||||
CardanoSignMessage = 300
|
CardanoSignMessage = 300
|
||||||
CardanoMessageSignature = 301
|
CardanoMessageSignature = 301
|
||||||
CardanoVerifyMessage = 302
|
CardanoVerifyMessage = 302
|
||||||
CardanoSignTransaction = 303
|
CardanoSignTx = 303
|
||||||
CardanoTxRequest = 304
|
CardanoTxRequest = 304
|
||||||
CardanoGetPublicKey = 305
|
CardanoGetPublicKey = 305
|
||||||
CardanoPublicKey = 306
|
CardanoPublicKey = 306
|
||||||
CardanoGetAddress = 307
|
CardanoGetAddress = 307
|
||||||
CardanoAddress = 308
|
CardanoAddress = 308
|
||||||
CardanoTxAck = 309
|
CardanoTxAck = 309
|
||||||
CardanoSignedTransaction = 310
|
CardanoSignedTx = 310
|
||||||
OntologyGetAddress = 350
|
OntologyGetAddress = 350
|
||||||
OntologyAddress = 351
|
OntologyAddress = 351
|
||||||
OntologyGetPublicKey = 352
|
OntologyGetPublicKey = 352
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
# Automatically generated by pb2py
|
|
||||||
# fmt: off
|
|
||||||
import protobuf as p
|
|
||||||
|
|
||||||
if __debug__:
|
|
||||||
try:
|
|
||||||
from typing import List
|
|
||||||
except ImportError:
|
|
||||||
List = None # type: ignore
|
|
||||||
|
|
||||||
|
|
||||||
class StellarGetPublicKey(p.MessageType):
|
|
||||||
MESSAGE_WIRE_TYPE = 200
|
|
||||||
FIELDS = {
|
|
||||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
|
||||||
2: ('show_display', p.BoolType, 0),
|
|
||||||
}
|
|
||||||
|
|
||||||
def __init__(
|
|
||||||
self,
|
|
||||||
address_n: List[int] = None,
|
|
||||||
show_display: bool = None,
|
|
||||||
) -> None:
|
|
||||||
self.address_n = address_n if address_n is not None else []
|
|
||||||
self.show_display = show_display
|
|
@ -1,16 +0,0 @@
|
|||||||
# Automatically generated by pb2py
|
|
||||||
# fmt: off
|
|
||||||
import protobuf as p
|
|
||||||
|
|
||||||
|
|
||||||
class StellarPublicKey(p.MessageType):
|
|
||||||
MESSAGE_WIRE_TYPE = 201
|
|
||||||
FIELDS = {
|
|
||||||
1: ('public_key', p.BytesType, 0),
|
|
||||||
}
|
|
||||||
|
|
||||||
def __init__(
|
|
||||||
self,
|
|
||||||
public_key: bytes = None,
|
|
||||||
) -> None:
|
|
||||||
self.public_key = public_key
|
|
2
vendor/trezor-common
vendored
2
vendor/trezor-common
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 564310d34d799f88f391573fd43eeea3d95a43c3
|
Subproject commit 3167bd63e389f1c27fe6ae07f1b87b5fbb889a61
|
Loading…
Reference in New Issue
Block a user