Skip to content

Commit

Permalink
update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyizxx committed Feb 10, 2025
1 parent 7b9f25d commit a0805d1
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 56 deletions.
40 changes: 16 additions & 24 deletions client/docs/static/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7300,9 +7300,9 @@ paths:
type: string
description: >-
Deprecated: This is the original "sender" field, but was
originally declared as a string,
originally

rather than a byte array.
declared as a string, rather than a byte array.
chain:
type: string
key_id:
Expand Down Expand Up @@ -7354,9 +7354,9 @@ paths:
type: string
description: >-
Deprecated: This is the original "sender" field, but was
originally declared as a string,
originally

rather than a byte array.
declared as a string, rather than a byte array.
key_id:
type: string
sender:
Expand Down Expand Up @@ -7406,9 +7406,9 @@ paths:
type: string
description: >-
Deprecated: This is the original "sender" field, but was
originally declared as a string,
originally

rather than a byte array.
declared as a string, rather than a byte array.
key_id:
type: string
pub_key:
Expand Down Expand Up @@ -7464,9 +7464,9 @@ paths:
type: string
description: >-
Deprecated: This is the original "sender" field, but was
originally declared as a string,
originally

rather than a byte array.
declared as a string, rather than a byte array.
sig_id:
type: string
format: uint64
Expand Down Expand Up @@ -53870,11 +53870,9 @@ definitions:
properties:
sender_str:
type: string
description: >-
description: |-
Deprecated: This is the original "sender" field, but was originally
declared as a string,

rather than a byte array.
declared as a string, rather than a byte array.
chain:
type: string
key_id:
Expand All @@ -53890,11 +53888,9 @@ definitions:
properties:
sender_str:
type: string
description: >-
description: |-
Deprecated: This is the original "sender" field, but was originally
declared as a string,

rather than a byte array.
declared as a string, rather than a byte array.
key_id:
type: string
sender:
Expand All @@ -53908,11 +53904,9 @@ definitions:
properties:
sender_str:
type: string
description: >-
description: |-
Deprecated: This is the original "sender" field, but was originally
declared as a string,

rather than a byte array.
declared as a string, rather than a byte array.
key_id:
type: string
pub_key:
Expand All @@ -53932,11 +53926,9 @@ definitions:
properties:
sender_str:
type: string
description: >-
description: |-
Deprecated: This is the original "sender" field, but was originally
declared as a string,

rather than a byte array.
declared as a string, rather than a byte array.
sig_id:
type: string
format: uint64
Expand Down
6 changes: 4 additions & 2 deletions proto/axelar/distribution/v1beta1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import "gogoproto/gogo.proto";
option go_package = "github.com/axelarnetwork/axelar-core/x/distribution/types";

message FeesBurned {
repeated cosmos.base.v1beta1.Coin coins = 2
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
repeated cosmos.base.v1beta1.Coin coins = 2 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
];
}
48 changes: 28 additions & 20 deletions proto/axelar/multisig/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ import "axelar/permission/exported/v1beta1/types.proto";
message StartKeygenRequest {
option (permission.exported.v1beta1.permission_role) = ROLE_CHAIN_MANAGEMENT;

// Deprecated: This is the original "sender" field, but was originally declared as a string,
// rather than a byte array.
string sender_str = 1 [ (gogoproto.casttype) =
"github.com/cosmos/cosmos-sdk/types.AccAddress", deprecated = true];
// Deprecated: This is the original "sender" field, but was originally
// declared as a string, rather than a byte array.
string sender_str = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
deprecated = true
];
string key_id = 2 [
(gogoproto.customname) = "KeyID",
(gogoproto.casttype) =
Expand All @@ -22,18 +24,20 @@ message StartKeygenRequest {

// New "sender" field, using the appropriate type
bytes sender = 3 [ (gogoproto.casttype) =
"github.com/cosmos/cosmos-sdk/types.AccAddress"];
"github.com/cosmos/cosmos-sdk/types.AccAddress" ];
}

message StartKeygenResponse {}

message SubmitPubKeyRequest {
option (permission.exported.v1beta1.permission_role) = ROLE_UNRESTRICTED;

// Deprecated: This is the original "sender" field, but was originally declared as a string,
// rather than a byte array.
string sender_str = 1 [ (gogoproto.casttype) =
"github.com/cosmos/cosmos-sdk/types.AccAddress", deprecated = true];
// Deprecated: This is the original "sender" field, but was originally
// declared as a string, rather than a byte array.
string sender_str = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
deprecated = true
];
string key_id = 2 [
(gogoproto.customname) = "KeyID",
(gogoproto.casttype) =
Expand All @@ -47,34 +51,38 @@ message SubmitPubKeyRequest {

// New "sender" field, using the appropriate type
bytes sender = 5 [ (gogoproto.casttype) =
"github.com/cosmos/cosmos-sdk/types.AccAddress"];
"github.com/cosmos/cosmos-sdk/types.AccAddress" ];
}

message SubmitPubKeyResponse {}

message SubmitSignatureRequest {
option (permission.exported.v1beta1.permission_role) = ROLE_UNRESTRICTED;

// Deprecated: This is the original "sender" field, but was originally declared as a string,
// rather than a byte array.
string sender_str = 1 [ (gogoproto.casttype) =
"github.com/cosmos/cosmos-sdk/types.AccAddress", deprecated = true];
// Deprecated: This is the original "sender" field, but was originally
// declared as a string, rather than a byte array.
string sender_str = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
deprecated = true
];
uint64 sig_id = 2 [ (gogoproto.customname) = "SigID" ];
bytes signature = 3 [ (gogoproto.casttype) = "Signature" ];

// New "sender" field, using the appropriate type
bytes sender = 4 [ (gogoproto.casttype) =
"github.com/cosmos/cosmos-sdk/types.AccAddress"];
"github.com/cosmos/cosmos-sdk/types.AccAddress" ];
}

message SubmitSignatureResponse {}

message RotateKeyRequest {
option (permission.exported.v1beta1.permission_role) = ROLE_CHAIN_MANAGEMENT;
// Deprecated: This is the original "sender" field, but was originally declared as a string,
// rather than a byte array.
string sender_str = 1 [ (gogoproto.casttype) =
"github.com/cosmos/cosmos-sdk/types.AccAddress", deprecated = true];
// Deprecated: This is the original "sender" field, but was originally
// declared as a string, rather than a byte array.
string sender_str = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
deprecated = true
];
string chain = 2
[ (gogoproto.casttype) =
"github.com/axelarnetwork/axelar-core/x/nexus/exported.ChainName" ];
Expand All @@ -86,7 +94,7 @@ message RotateKeyRequest {

// New "sender" field, using the appropriate type
bytes sender = 4 [ (gogoproto.casttype) =
"github.com/cosmos/cosmos-sdk/types.AccAddress"];
"github.com/cosmos/cosmos-sdk/types.AccAddress" ];
}

message RotateKeyResponse {}
Expand Down
4 changes: 2 additions & 2 deletions x/distribution/types/events.pb.go

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

16 changes: 8 additions & 8 deletions x/multisig/types/tx.pb.go

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

0 comments on commit a0805d1

Please sign in to comment.