From f055ce5b405cce7ce560b222d0eef31e98c71d99 Mon Sep 17 00:00:00 2001 From: beer-1 <147697694+beer-1@users.noreply.github.com> Date: Thu, 25 Jan 2024 07:57:47 +0900 Subject: [PATCH] fix: add missing proto annotation (#164) * 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 --- .../packetforward/types/tx.pb.go | 18 +++++++++--------- .../proto/packetforward/v1/tx.proto | 2 ++ modules/async-icq/proto/icq/v1/tx.proto | 2 ++ .../demo-simapp/proto/interquery/tx.proto | 11 ++++++----- modules/async-icq/types/tx.pb.go | 17 +++++++++-------- 5 files changed, 28 insertions(+), 22 deletions(-) diff --git a/middleware/packet-forward-middleware/packetforward/types/tx.pb.go b/middleware/packet-forward-middleware/packetforward/types/tx.pb.go index 749ffc1f..a6ee4916 100644 --- a/middleware/packet-forward-middleware/packetforward/types/tx.pb.go +++ b/middleware/packet-forward-middleware/packetforward/types/tx.pb.go @@ -137,7 +137,7 @@ func init() { func init() { proto.RegisterFile("packetforward/v1/tx.proto", fileDescriptor_6309e74559641db6) } var fileDescriptor_6309e74559641db6 = []byte{ - // 340 bytes of a gzipped FileDescriptorProto + // 348 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2c, 0x48, 0x4c, 0xce, 0x4e, 0x2d, 0x49, 0xcb, 0x2f, 0x2a, 0x4f, 0x2c, 0x4a, 0xd1, 0x2f, 0x33, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x91, 0xd2, 0x2b, 0x33, 0x94, 0x12, 0x4f, 0xce, @@ -151,15 +151,15 @@ var fileDescriptor_6309e74559641db6 = []byte{ 0x52, 0x21, 0x33, 0x2e, 0xb6, 0x02, 0xb0, 0x09, 0x12, 0x4c, 0x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00, 0x00, + 0x14, 0x6b, 0xc3, 0xf3, 0x0d, 0x5a, 0x8c, 0x4e, 0x05, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, + 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, + 0x2c, 0xc7, 0x10, 0x15, 0x96, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0x0b, 0x0d, + 0x4d, 0xfd, 0xcc, 0xa4, 0x64, 0xdd, 0xc4, 0x82, 0x82, 0x62, 0xfd, 0xdc, 0xcc, 0x94, 0x94, 0x9c, + 0xd4, 0xf2, 0xc4, 0xa2, 0x54, 0x7d, 0x88, 0x85, 0xba, 0x50, 0x1b, 0x75, 0x91, 0x64, 0xca, 0x2c, + 0xf4, 0x51, 0x23, 0xb2, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0x27, 0xc6, 0x80, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x1d, 0xe1, 0xb6, 0xe4, 0x2c, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/middleware/packet-forward-middleware/proto/packetforward/v1/tx.proto b/middleware/packet-forward-middleware/proto/packetforward/v1/tx.proto index b8240487..7209b518 100644 --- a/middleware/packet-forward-middleware/proto/packetforward/v1/tx.proto +++ b/middleware/packet-forward-middleware/proto/packetforward/v1/tx.proto @@ -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. // diff --git a/modules/async-icq/proto/icq/v1/tx.proto b/modules/async-icq/proto/icq/v1/tx.proto index 7d68ebbc..a618b4b4 100644 --- a/modules/async-icq/proto/icq/v1/tx.proto +++ b/modules/async-icq/proto/icq/v1/tx.proto @@ -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. // diff --git a/modules/async-icq/testing/demo-simapp/proto/interquery/tx.proto b/modules/async-icq/testing/demo-simapp/proto/interquery/tx.proto index f4578ac8..fa21e7ab 100644 --- a/modules/async-icq/testing/demo-simapp/proto/interquery/tx.proto +++ b/modules/async-icq/testing/demo-simapp/proto/interquery/tx.proto @@ -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 { @@ -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 \ No newline at end of file diff --git a/modules/async-icq/types/tx.pb.go b/modules/async-icq/types/tx.pb.go index e5bd3a5c..acc85f61 100644 --- a/modules/async-icq/types/tx.pb.go +++ b/modules/async-icq/types/tx.pb.go @@ -137,7 +137,7 @@ func init() { func init() { proto.RegisterFile("icq/v1/tx.proto", fileDescriptor_00928e3e5e8ec389) } var fileDescriptor_00928e3e5e8ec389 = []byte{ - // 319 bytes of a gzipped FileDescriptorProto + // 326 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcf, 0x4c, 0x2e, 0xd4, 0x2f, 0x33, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xcb, 0x4c, 0x2e, 0xd4, 0x2b, 0x33, 0x94, 0x12, 0x4f, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0xcf, 0x2d, 0x4e, 0x07, @@ -150,14 +150,15 @@ var fileDescriptor_00928e3e5e8ec389 = []byte{ 0x42, 0x28, 0x15, 0xd2, 0xe1, 0x62, 0x2b, 0x00, 0x9b, 0x20, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x6d, 0xc4, 0xa7, 0x07, 0xf1, 0x80, 0x1e, 0xc4, 0x5c, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0x6a, 0xac, 0xf8, 0x9a, 0x9e, 0x6f, 0xd0, 0x42, 0xe8, 0x56, 0x92, 0xe4, 0x12, 0x47, 0x73, 0x48, - 0x50, 0x6a, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x91, 0x3f, 0x17, 0xb3, 0x6f, 0x71, 0xba, 0x90, + 0x50, 0x6a, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x51, 0x18, 0x17, 0xb3, 0x6f, 0x71, 0xba, 0x90, 0x07, 0x17, 0x0f, 0x8a, 0x3b, 0xc5, 0x61, 0xe6, 0xa3, 0xe9, 0x93, 0x92, 0xc7, 0x21, 0x01, 0x33, - 0xd0, 0xc9, 0xff, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, - 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x4c, 0xd3, 0x33, - 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xa1, 0x01, 0xa5, 0x9f, 0x99, 0x94, 0xac, 0x9b, - 0x58, 0x50, 0x50, 0xac, 0x9f, 0x9b, 0x9f, 0x52, 0x9a, 0x93, 0x5a, 0xac, 0x9f, 0x58, 0x5c, 0x99, - 0x97, 0xac, 0x0b, 0x0e, 0x7b, 0x0b, 0xfd, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0x68, - 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x16, 0x64, 0xd2, 0xc4, 0x01, 0x00, 0x00, + 0x50, 0x8a, 0xb5, 0xe1, 0xf9, 0x06, 0x2d, 0x46, 0x27, 0xff, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, + 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, + 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0x85, + 0x86, 0x97, 0x7e, 0x66, 0x52, 0xb2, 0x6e, 0x62, 0x41, 0x41, 0xb1, 0x7e, 0x6e, 0x7e, 0x4a, 0x69, + 0x4e, 0x6a, 0xb1, 0x7e, 0x62, 0x71, 0x65, 0x5e, 0xb2, 0x2e, 0x38, 0x0a, 0x2c, 0xf4, 0x4b, 0x2a, + 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x81, 0x6a, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x25, 0x5b, + 0x6f, 0x03, 0xcb, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used.