Skip to content

Commit

Permalink
fix: add missing proto annotation (#164)
Browse files Browse the repository at this point in the history
* add missing proto annotation

service icq.v1.Msg does not have cosmos.msg.v1.service proto annotation
service packetforward.v1.Msg does not have cosmos.msg.v1.service proto annotation

* add missing proto annotation

* build proto
  • Loading branch information
beer-1 committed Jan 24, 2024
1 parent b152a63 commit f055ce5
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 22 deletions.

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

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ option go_package = "github.com/cosmos/ibc-apps/middleware/packet-forward-middle

// Msg defines the Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// UpdateParams defines a governance operation for updating the x/packetforward module
// parameters. The authority is hard-coded to the x/gov module account.
//
Expand Down
2 changes: 2 additions & 0 deletions modules/async-icq/proto/icq/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ option go_package = "github.com/cosmos/ibc-apps/modules/async-icq/v8/types";

// Msg defines the Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// UpdateParams defines a governance operation for updating the x/async-icq module
// parameters. The authority is hard-coded to the x/gov module account.
//
Expand Down
11 changes: 6 additions & 5 deletions modules/async-icq/testing/demo-simapp/proto/interquery/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ option go_package = "github.com/cosmos/ibc-apps/modules/async-icq/v8/interchain-

// Msg defines the Msg service.
service Msg {
rpc SendQueryAllBalances(MsgSendQueryAllBalances) returns (MsgSendQueryAllBalancesResponse);
// this line is used by starport scaffolding # proto/tx/rpc
option (cosmos.msg.v1.service) = true;

rpc SendQueryAllBalances(MsgSendQueryAllBalances)
returns (MsgSendQueryAllBalancesResponse);
// this line is used by starport scaffolding # proto/tx/rpc
}

message MsgSendQueryAllBalances {
Expand All @@ -19,8 +22,6 @@ message MsgSendQueryAllBalances {
cosmos.base.query.v1beta1.PageRequest pagination = 4;
}

message MsgSendQueryAllBalancesResponse {
uint64 sequence = 1;
}
message MsgSendQueryAllBalancesResponse { uint64 sequence = 1; }

// this line is used by starport scaffolding # proto/tx/message
17 changes: 9 additions & 8 deletions modules/async-icq/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 f055ce5

Please sign in to comment.