Skip to content

Commit

Permalink
fix: re-order sign modes ascendingly
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhphuctadang committed Sep 15, 2023
1 parent 8a238ba commit c85d573
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 56 deletions.
18 changes: 9 additions & 9 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.

8 changes: 4 additions & 4 deletions proto/cosmos/tx/signing/v1beta1/signing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ 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 All @@ -51,10 +55,6 @@ enum SignMode {
//
// Since: cosmos-sdk 0.45.2
SIGN_MODE_EIP_191 = 191;

// 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;
}

// SignatureDescriptors wraps multiple SignatureDescriptor's.
Expand Down
86 changes: 43 additions & 43 deletions types/tx/signing/signing.pb.go

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

0 comments on commit c85d573

Please sign in to comment.