Skip to content

Commit

Permalink
cherry pick: 0427b6f
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez committed Dec 19, 2023
1 parent 3ef76da commit ebf5a40
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 64 deletions.
4 changes: 4 additions & 0 deletions api/cosmos/authz/v1beta1/tx_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 31 additions & 22 deletions api/cosmos/tx/signing/v1beta1/signing.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions proto/cosmos/authz/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ service Msg {
// on the granter's account that has been granted to the grantee.
rpc Revoke(MsgRevoke) returns (MsgRevokeResponse);

// ExecCompat has same functionality as Exec but accepts array of json-encoded
// message string instead of []*Any
rpc ExecCompat(MsgExecCompat) returns (MsgExecCompatResponse);
}

Expand Down
12 changes: 9 additions & 3 deletions proto/cosmos/tx/signing/v1beta1/signing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ enum SignMode {
// Amino JSON and will be removed in the future.
SIGN_MODE_LEGACY_AMINO_JSON = 127;

// Injective EIP712 support for any cosmos messages which uses proto-json
// encoded string for messages
// Signature verification is implemented in injective core
SIGN_MODE_EIP712_V2 = 128;

// SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos
// SDK. Ref: https://eips.ethereum.org/EIPS/eip-191
//
Expand Down Expand Up @@ -71,13 +76,14 @@ message SignatureDescriptor {
Data data = 2;

// sequence is the sequence of the account, which describes the
// number of committed transactions signed by a given address. It is used to prevent
// replay attacks.
// number of committed transactions signed by a given address. It is used to
// prevent replay attacks.
uint64 sequence = 3;

// Data represents signature data
message Data {
// sum is the oneof that specifies whether this represents single or multi-signature data
// sum is the oneof that specifies whether this represents single or
// multi-signature data
oneof sum {
// single represents a single signer
Single single = 1;
Expand Down
86 changes: 47 additions & 39 deletions types/tx/signing/signing.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions x/authz/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ebf5a40

Please sign in to comment.