|
665 | 665 | - [ModeInfo.Single](#cosmos.tx.v1beta1.ModeInfo.Single)
|
666 | 666 | - [SignDoc](#cosmos.tx.v1beta1.SignDoc)
|
667 | 667 | - [SignDocDirectAux](#cosmos.tx.v1beta1.SignDocDirectAux)
|
668 |
| - - [SignDocJSON](#cosmos.tx.v1beta1.SignDocJSON) |
669 | 668 | - [SignerInfo](#cosmos.tx.v1beta1.SignerInfo)
|
670 | 669 | - [Tip](#cosmos.tx.v1beta1.Tip)
|
671 | 670 | - [Tx](#cosmos.tx.v1beta1.Tx)
|
@@ -9365,9 +9364,8 @@ SignMode represents a signing mode with its own security guarantees.
|
9365 | 9364 | | SIGN_MODE_UNSPECIFIED | 0 | SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected. |
|
9366 | 9365 | | SIGN_MODE_DIRECT | 1 | SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx. |
|
9367 | 9366 | | SIGN_MODE_TEXTUAL | 2 | SIGN_MODE_TEXTUAL is a future signing mode that will verify some human-readable textual representation on top of the binary representation from SIGN_MODE_DIRECT. It is currently not supported. |
|
9368 |
| -| SIGN_MODE_DIRECT_JSON | 3 | SIGN_MODE_DIRECT_JSON specifies a signing mode which uses SignDocJSON. It is verified using a canonical JSON representation of the bytes used in SIGN_MODE_DIRECT. It is currently not supported. | |
9369 |
| -| SIGN_MODE_DIRECT_AUX | 4 | SIGN_MODE_DIRECT_AUX specifies a signing mode which uses SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not require signers signing over other signers' `signer_info`. It also allows for adding Tips in transactions. | |
9370 |
| -| SIGN_MODE_AMINO_AUX | 5 | SIGN_MODE_AMINO_AUX specifies a signing mode which uses SignDocAminoAux. | |
| 9367 | +| SIGN_MODE_DIRECT_AUX | 3 | SIGN_MODE_DIRECT_AUX specifies a signing mode which uses SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not require signers signing over other signers' `signer_info`. It also allows for adding Tips in transactions. | |
| 9368 | +| SIGN_MODE_AMINO_AUX | 4 | SIGN_MODE_AMINO_AUX specifies a signing mode which uses SignDocAminoAux. | |
9371 | 9369 | | SIGN_MODE_LEGACY_AMINO_JSON | 127 | SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future. |
|
9372 | 9370 |
|
9373 | 9371 |
|
@@ -9512,28 +9510,6 @@ SIGN_MODE_DIRECT_AUX.
|
9512 | 9510 |
|
9513 | 9511 |
|
9514 | 9512 |
|
9515 |
| -<a name="cosmos.tx.v1beta1.SignDocJSON"></a> |
9516 |
| - |
9517 |
| -### SignDocJSON |
9518 |
| -SignDocJSON is the type used for generating sign bytes for |
9519 |
| -SIGN_MODE_DIRECT_JSON. It is designed to be serialized as proto3 JSON |
9520 |
| -following the rules defined here: |
9521 |
| -https://github.com/regen-network/canonical-proto3/blob/master/README.md#json. |
9522 |
| - |
9523 |
| - |
9524 |
| -| Field | Type | Label | Description | |
9525 |
| -| ----- | ---- | ----- | ----------- | |
9526 |
| -| `body` | [TxBody](#cosmos.tx.v1beta1.TxBody) | | body is the processable content of the transaction | |
9527 |
| -| `auth_info` | [AuthInfo](#cosmos.tx.v1beta1.AuthInfo) | | auth_info is the authorization related content of the transaction, specifically signers, signer modes and fee | |
9528 |
| -| `chain_id` | [string](#string) | | chain_id is the identifier of the chain this transaction targets. It prevents signed transactions from being used on another chain by an attacker | |
9529 |
| -| `account_number` | [uint64](#uint64) | | account_number is the account number of the signing account in state | |
9530 |
| -| `sign_doc_sha256_hash` | [bytes](#bytes) | | sign_doc_sha256_hash is the SHA-256 hash of SignDoc. It is included here to reduce the malleability attack surface of SIGN_MODE_DIRECT_JSON vs SIGN_MODE_DIRECT to zero. Basically this means that any discrepancy between protobuf bytes over the wire and protobuf bytes that are signed cannot be exploited. This information is obviously redundant with information already in SignDocJSON, but is included as a security check for scenarios where this information may have inadvertently been excluded. We include the hash of SignDoc rather than the full SignDoc bytes to reduce the size of SignDocJSON for scenarios where large payloads could cause problems for hardware wallets. | |
9531 |
| - |
9532 |
| - |
9533 |
| - |
9534 |
| - |
9535 |
| - |
9536 |
| - |
9537 | 9513 | <a name="cosmos.tx.v1beta1.SignerInfo"></a>
|
9538 | 9514 |
|
9539 | 9515 | ### SignerInfo
|
|
0 commit comments