From 69d45c7a43706d106fca1d895bd66202c8fbcc83 Mon Sep 17 00:00:00 2001 From: GNaD Date: Fri, 24 Feb 2023 11:09:04 +0700 Subject: [PATCH 1/5] gen proto --- .../controller/types/tx.pb.go | 126 +++++++++++++----- .../controller/v1/tx.proto | 1 + 2 files changed, 90 insertions(+), 37 deletions(-) diff --git a/modules/apps/27-interchain-accounts/controller/types/tx.pb.go b/modules/apps/27-interchain-accounts/controller/types/tx.pb.go index b2ea19032a2..9f4b3182df4 100644 --- a/modules/apps/27-interchain-accounts/controller/types/tx.pb.go +++ b/modules/apps/27-interchain-accounts/controller/types/tx.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/cosmos/gogoproto/grpc" - proto "github.com/cosmos/gogoproto/proto" types "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types" + grpc1 "github.com/gogo/protobuf/grpc" + proto "github.com/gogo/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -72,6 +72,7 @@ var xxx_messageInfo_MsgRegisterInterchainAccount proto.InternalMessageInfo // MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount type MsgRegisterInterchainAccountResponse struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"` } func (m *MsgRegisterInterchainAccountResponse) Reset() { *m = MsgRegisterInterchainAccountResponse{} } @@ -114,6 +115,13 @@ func (m *MsgRegisterInterchainAccountResponse) GetChannelId() string { return "" } +func (m *MsgRegisterInterchainAccountResponse) GetPortId() string { + if m != nil { + return m.PortId + } + return "" +} + // MsgSendTx defines the payload for Msg/SendTx type MsgSendTx struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` @@ -214,42 +222,43 @@ func init() { } var fileDescriptor_7def041328c84a30 = []byte{ - // 546 bytes of a gzipped FileDescriptorProto + // 570 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xbf, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0xed, 0x34, 0x94, 0xe6, 0x0a, 0x82, 0x5a, 0x41, 0x18, 0x83, 0xec, 0xca, 0x62, 0xe8, - 0x92, 0x3b, 0x25, 0x54, 0xaa, 0x54, 0xd4, 0x81, 0xa8, 0x20, 0x65, 0x88, 0x14, 0x99, 0x0e, 0x08, - 0x21, 0x45, 0x97, 0xf3, 0xc9, 0x39, 0x70, 0xee, 0x8c, 0xef, 0x62, 0xda, 0x91, 0x8d, 0x09, 0xb1, - 0xb1, 0xf6, 0xaf, 0xe0, 0x5f, 0xa0, 0x63, 0x47, 0xa6, 0xa8, 0x4a, 0x16, 0xe6, 0xfc, 0x05, 0xc8, - 0x76, 0xe2, 0x04, 0x28, 0x55, 0xf9, 0xb5, 0xf9, 0xdd, 0xdd, 0xe7, 0xbd, 0xef, 0xfb, 0xe1, 0x07, - 0x1e, 0xb2, 0x1e, 0x41, 0x38, 0x8a, 0x42, 0x46, 0xb0, 0x62, 0x82, 0x4b, 0xc4, 0xb8, 0xa2, 0x31, - 0xe9, 0x63, 0xc6, 0xbb, 0x98, 0x10, 0x31, 0xe4, 0x4a, 0x22, 0x22, 0xb8, 0x8a, 0x45, 0x18, 0xd2, - 0x18, 0x25, 0x75, 0xa4, 0x0e, 0x61, 0x14, 0x0b, 0x25, 0x8c, 0x06, 0xeb, 0x11, 0xb8, 0x0c, 0xc3, - 0x73, 0x60, 0xb8, 0x80, 0x61, 0x52, 0xb7, 0xaa, 0x81, 0x08, 0x44, 0x86, 0xa3, 0xf4, 0x2b, 0xf7, - 0x64, 0x6d, 0x5f, 0x4a, 0x46, 0x52, 0x47, 0x11, 0x26, 0xaf, 0xa8,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02, 0x00, 0x00, 0xff, 0xff, 0x17, 0x12, 0x8c, 0xf0, 0xf6, 0x04, - 0x00, 0x00, + 0x14, 0xc7, 0xed, 0x34, 0xa4, 0xcd, 0x95, 0x5f, 0xb5, 0x82, 0x30, 0x06, 0xd9, 0x95, 0xc5, 0x50, + 0x09, 0xc5, 0xa7, 0x84, 0x4a, 0x95, 0x8a, 0x3a, 0x10, 0x15, 0xa4, 0x0c, 0x91, 0x22, 0xd3, 0x01, + 0xb1, 0x44, 0x97, 0xf3, 0xc9, 0x39, 0x70, 0xee, 0x8c, 0xef, 0x62, 0xda, 0x91, 0x0d, 0x16, 0xc4, + 0xc6, 0xda, 0xbf, 0x82, 0x7f, 0x81, 0x8e, 0x1d, 0x99, 0xac, 0x2a, 0x59, 0x98, 0xf3, 0x17, 0x20, + 0xdb, 0x89, 0x53, 0xa0, 0x54, 0xe5, 0x47, 0x37, 0xbf, 0x7b, 0xf7, 0x79, 0xef, 0x7b, 0xef, 0x3d, + 0x3f, 0xf0, 0x88, 0xf6, 0x31, 0x44, 0x61, 0x18, 0x50, 0x8c, 0x24, 0xe5, 0x4c, 0x40, 0xca, 0x24, + 0x89, 0xf0, 0x00, 0x51, 0xd6, 0x43, 0x18, 0xf3, 0x11, 0x93, 0x02, 0x62, 0xce, 0x64, 0xc4, 0x83, + 0x80, 0x44, 0x30, 0x6e, 0x40, 0xb9, 0xef, 0x84, 0x11, 0x97, 0x5c, 0x6b, 0xd2, 0x3e, 0x76, 0x4e, + 0xc3, 0xce, 0x19, 0xb0, 0xb3, 0x80, 0x9d, 0xb8, 0x61, 0xd4, 0x7c, 0xee, 0xf3, 0x0c, 0x87, 0xe9, + 0x57, 0x1e, 0xc9, 0xd8, 0xbc, 0x90, 0x8c, 0xb8, 0x01, 0x43, 0x84, 0x5f, 0x11, 0x99, 0x53, 0xf6, + 0x27, 0x15, 0xdc, 0xeb, 0x08, 0xdf, 0x25, 0x3e, 0x15, 0x92, 0x44, 0xed, 0x02, 0x79, 0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, 0x79, 0xf8, 0x3d, 0x00, 0x00, + 0xff, 0xff, 0xf0, 0x81, 0x7c, 0xb2, 0x24, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -436,6 +445,13 @@ func (m *MsgRegisterInterchainAccountResponse) MarshalToSizedBuffer(dAtA []byte) _ = i var l int _ = l + if len(m.PortId) > 0 { + i -= len(m.PortId) + copy(dAtA[i:], m.PortId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PortId))) + i-- + dAtA[i] = 0x12 + } if len(m.ChannelId) > 0 { i -= len(m.ChannelId) copy(dAtA[i:], m.ChannelId) @@ -568,6 +584,10 @@ func (m *MsgRegisterInterchainAccountResponse) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } + l = len(m.PortId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } return n } @@ -818,6 +838,38 @@ func (m *MsgRegisterInterchainAccountResponse) Unmarshal(dAtA []byte) error { } m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PortId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PortId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) diff --git a/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto b/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto index ab97914fe5d..8397688b2fc 100644 --- a/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto +++ b/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto @@ -28,6 +28,7 @@ message MsgRegisterInterchainAccount { // MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount message MsgRegisterInterchainAccountResponse { string channel_id = 1 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string port_id = 2 [(gogoproto.moretags) = "yaml:\"port_id\""]; } // MsgSendTx defines the payload for Msg/SendTx From 15796472e9f6ea8df674c006335d838a92df67b5 Mon Sep 17 00:00:00 2001 From: GNaD Date: Fri, 24 Feb 2023 11:27:13 +0700 Subject: [PATCH 2/5] add portID to msg response --- .../27-interchain-accounts/controller/keeper/msg_server.go | 1 + modules/apps/27-interchain-accounts/controller/types/tx.pb.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/apps/27-interchain-accounts/controller/keeper/msg_server.go b/modules/apps/27-interchain-accounts/controller/keeper/msg_server.go index ed953fd8c1e..fe0535c7022 100644 --- a/modules/apps/27-interchain-accounts/controller/keeper/msg_server.go +++ b/modules/apps/27-interchain-accounts/controller/keeper/msg_server.go @@ -47,6 +47,7 @@ func (s msgServer) RegisterInterchainAccount(goCtx context.Context, msg *types.M return &types.MsgRegisterInterchainAccountResponse{ ChannelId: channelID, + PortId: portID, }, nil } diff --git a/modules/apps/27-interchain-accounts/controller/types/tx.pb.go b/modules/apps/27-interchain-accounts/controller/types/tx.pb.go index 9f4b3182df4..b15979a713e 100644 --- a/modules/apps/27-interchain-accounts/controller/types/tx.pb.go +++ b/modules/apps/27-interchain-accounts/controller/types/tx.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" types "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" From 73c4fa44aa649bc94c08a061cabe606bac04fe9f Mon Sep 17 00:00:00 2001 From: GNaD Date: Sun, 26 Feb 2023 21:15:21 +0700 Subject: [PATCH 3/5] format --- .../ibc/applications/interchain_accounts/controller/v1/tx.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto b/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto index 8397688b2fc..284ffe70576 100644 --- a/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto +++ b/proto/ibc/applications/interchain_accounts/controller/v1/tx.proto @@ -28,7 +28,7 @@ message MsgRegisterInterchainAccount { // MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount message MsgRegisterInterchainAccountResponse { string channel_id = 1 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - string port_id = 2 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string port_id = 2 [(gogoproto.moretags) = "yaml:\"port_id\""]; } // MsgSendTx defines the payload for Msg/SendTx From 67125ea2e09480bd9d9e053ffd2f6c37469de1cd Mon Sep 17 00:00:00 2001 From: GNaD Date: Tue, 28 Feb 2023 09:45:33 +0700 Subject: [PATCH 4/5] add portID to docs --- docs/apps/interchain-accounts/messages.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/apps/interchain-accounts/messages.md b/docs/apps/interchain-accounts/messages.md index 5486e6c5f97..92dcb4350d3 100644 --- a/docs/apps/interchain-accounts/messages.md +++ b/docs/apps/interchain-accounts/messages.md @@ -29,10 +29,11 @@ If the `Version` string is omitted, the controller submodule will construct a de ```go type MsgRegisterInterchainAccountResponse struct { ChannelID string + PortId string } ``` -The `ChannelID` is returned in the message response. +The `ChannelID` and `PortID` is returned in the message response. ## `MsgSendTx` From d58841a869f60f33c77333bbc4dbbdf7fb5afa32 Mon Sep 17 00:00:00 2001 From: GNaD Date: Tue, 28 Feb 2023 15:20:08 +0700 Subject: [PATCH 5/5] nit --- docs/apps/interchain-accounts/messages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apps/interchain-accounts/messages.md b/docs/apps/interchain-accounts/messages.md index 92dcb4350d3..0f4475818fe 100644 --- a/docs/apps/interchain-accounts/messages.md +++ b/docs/apps/interchain-accounts/messages.md @@ -33,7 +33,7 @@ type MsgRegisterInterchainAccountResponse struct { } ``` -The `ChannelID` and `PortID` is returned in the message response. +The `ChannelID` and `PortID` are returned in the message response. ## `MsgSendTx`