diff --git a/proto/exocore/operator/v1/tx.proto b/proto/exocore/operator/v1/tx.proto index 29199fdec..ce386e4b0 100644 --- a/proto/exocore/operator/v1/tx.proto +++ b/proto/exocore/operator/v1/tx.proto @@ -131,8 +131,8 @@ message OptInToCosmosChainRequest { message OptInToCosmosChainResponse { } -// InitiateOptOutFromCosmosChainRequest defines the InitiateOptOutFromCosmosChain request. -message InitiateOptOutFromCosmosChainRequest { +// InitOptOutFromCosmosChainRequest defines the InitOptOutFromCosmosChain request. +message InitOptOutFromCosmosChainRequest { option (cosmos.msg.v1.signer) = "address"; // address is the operator address string address = 1; @@ -140,8 +140,8 @@ message InitiateOptOutFromCosmosChainRequest { string chain_id = 2; } -// InitiateOptOutFromCosmosChainResponse defines the InitiateOptOutFromCosmosChain response. -message InitiateOptOutFromCosmosChainResponse { +// InitOptOutFromCosmosChainResponse defines the InitOptOutFromCosmosChain response. +message InitOptOutFromCosmosChainResponse { } // Msg defines the operator Msg service. @@ -155,10 +155,10 @@ service Msg { // start validatring on a chain. The operator must sign the request with // the key with which they registered in the system. rpc OptInToCosmosChain(OptInToCosmosChainRequest) returns (OptInToCosmosChainResponse) {}; - // InitiateOptOutFromCosmosChain is a method with which an operator can initiate + // InitOptOutFromCosmosChain is a method with which an operator can initiate // the opt out process from a chain. The operator must sign the request with // the key with which they registered in the system. The opt-out process takes // as long as the chain's unbonding period to complete, plus some loose change // for message relaying across chains. - rpc InitiateOptOutFromCosmosChain(InitiateOptOutFromCosmosChainRequest) returns (InitiateOptOutFromCosmosChainResponse) {}; + rpc InitOptOutFromCosmosChain(InitOptOutFromCosmosChainRequest) returns (InitOptOutFromCosmosChainResponse) {}; } \ No newline at end of file diff --git a/x/operator/keeper/msg_server.go b/x/operator/keeper/msg_server.go index 0d74ead53..fcc018a67 100644 --- a/x/operator/keeper/msg_server.go +++ b/x/operator/keeper/msg_server.go @@ -47,12 +47,12 @@ func (k *Keeper) OptInToCosmosChain( return &types.OptInToCosmosChainResponse{}, nil } -// InitiateOptOutFromCosmosChain is a method corresponding to OptInToCosmosChain +// InitOptOutFromCosmosChain is a method corresponding to OptInToCosmosChain // It provides a function to opt out from the app chain Avs for the operators. -func (k *Keeper) InitiateOptOutFromCosmosChain( +func (k *Keeper) InitOptOutFromCosmosChain( goCtx context.Context, - req *types.InitiateOptOutFromCosmosChainRequest, -) (*types.InitiateOptOutFromCosmosChainResponse, error) { + req *types.InitOptOutFromCosmosChainRequest, +) (*types.InitOptOutFromCosmosChainResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) addr, err := sdk.AccAddressFromBech32(req.Address) if err != nil { @@ -63,7 +63,7 @@ func (k *Keeper) InitiateOptOutFromCosmosChain( ); err != nil { return nil, err } - return &types.InitiateOptOutFromCosmosChainResponse{}, nil + return &types.InitOptOutFromCosmosChainResponse{}, nil } func stringToPubKey(pubKey string) (key tmprotocrypto.PublicKey, err error) { diff --git a/x/operator/types/codec.go b/x/operator/types/codec.go index 473377ac4..17edd4f33 100644 --- a/x/operator/types/codec.go +++ b/x/operator/types/codec.go @@ -33,7 +33,7 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { (*sdk.Msg)(nil), &RegisterOperatorReq{}, &OptInToCosmosChainRequest{}, - &InitiateOptOutFromCosmosChainRequest{}, + &InitOptOutFromCosmosChainRequest{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } diff --git a/x/operator/types/msg.go b/x/operator/types/msg.go index b38f28299..16612cd68 100644 --- a/x/operator/types/msg.go +++ b/x/operator/types/msg.go @@ -10,7 +10,7 @@ var ( // add for dogfood _ sdk.Msg = &OptInToCosmosChainRequest{} - _ sdk.Msg = &InitiateOptOutFromCosmosChainRequest{} + _ sdk.Msg = &InitOptOutFromCosmosChainRequest{} ) // GetSigners returns the expected signers for a MsgUpdateParams message. @@ -44,12 +44,12 @@ func (m *OptInToCosmosChainRequest) ValidateBasic() error { return nil } -func (m *InitiateOptOutFromCosmosChainRequest) GetSigners() []sdk.AccAddress { +func (m *InitOptOutFromCosmosChainRequest) GetSigners() []sdk.AccAddress { addr := sdk.MustAccAddressFromBech32(m.Address) return []sdk.AccAddress{addr} } -func (m *InitiateOptOutFromCosmosChainRequest) ValidateBasic() error { +func (m *InitOptOutFromCosmosChainRequest) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Address); err != nil { return errorsmod.Wrap(err, "invalid from address") } diff --git a/x/operator/types/query.pb.go b/x/operator/types/query.pb.go index df6dd2716..737635e24 100644 --- a/x/operator/types/query.pb.go +++ b/x/operator/types/query.pb.go @@ -33,7 +33,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // QueryOperatorInfoReq is the request to obtain the operator information. type GetOperatorInfoReq struct { - // operator_addr is the operator address. + // operator_addr is the operator address,its type should be a sdk.AccAddress OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` } diff --git a/x/operator/types/tx.pb.go b/x/operator/types/tx.pb.go index 6bd9a425a..b162bfb3b 100644 --- a/x/operator/types/tx.pb.go +++ b/x/operator/types/tx.pb.go @@ -618,26 +618,26 @@ func (m *OptInToCosmosChainResponse) XXX_DiscardUnknown() { var xxx_messageInfo_OptInToCosmosChainResponse proto.InternalMessageInfo -// InitiateOptOutFromCosmosChainRequest defines the InitiateOptOutFromCosmosChain request. -type InitiateOptOutFromCosmosChainRequest struct { +// InitOptOutFromCosmosChainRequest defines the InitOptOutFromCosmosChain request. +type InitOptOutFromCosmosChainRequest struct { // address is the operator address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // chain_id is the identifier for the chain that wants to opt out. ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` } -func (m *InitiateOptOutFromCosmosChainRequest) Reset() { *m = InitiateOptOutFromCosmosChainRequest{} } -func (m *InitiateOptOutFromCosmosChainRequest) String() string { return proto.CompactTextString(m) } -func (*InitiateOptOutFromCosmosChainRequest) ProtoMessage() {} -func (*InitiateOptOutFromCosmosChainRequest) Descriptor() ([]byte, []int) { +func (m *InitOptOutFromCosmosChainRequest) Reset() { *m = InitOptOutFromCosmosChainRequest{} } +func (m *InitOptOutFromCosmosChainRequest) String() string { return proto.CompactTextString(m) } +func (*InitOptOutFromCosmosChainRequest) ProtoMessage() {} +func (*InitOptOutFromCosmosChainRequest) Descriptor() ([]byte, []int) { return fileDescriptor_b229d5663e4df167, []int{11} } -func (m *InitiateOptOutFromCosmosChainRequest) XXX_Unmarshal(b []byte) error { +func (m *InitOptOutFromCosmosChainRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *InitiateOptOutFromCosmosChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *InitOptOutFromCosmosChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_InitiateOptOutFromCosmosChainRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_InitOptOutFromCosmosChainRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -647,48 +647,48 @@ func (m *InitiateOptOutFromCosmosChainRequest) XXX_Marshal(b []byte, determinist return b[:n], nil } } -func (m *InitiateOptOutFromCosmosChainRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitiateOptOutFromCosmosChainRequest.Merge(m, src) +func (m *InitOptOutFromCosmosChainRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_InitOptOutFromCosmosChainRequest.Merge(m, src) } -func (m *InitiateOptOutFromCosmosChainRequest) XXX_Size() int { +func (m *InitOptOutFromCosmosChainRequest) XXX_Size() int { return m.Size() } -func (m *InitiateOptOutFromCosmosChainRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InitiateOptOutFromCosmosChainRequest.DiscardUnknown(m) +func (m *InitOptOutFromCosmosChainRequest) XXX_DiscardUnknown() { + xxx_messageInfo_InitOptOutFromCosmosChainRequest.DiscardUnknown(m) } -var xxx_messageInfo_InitiateOptOutFromCosmosChainRequest proto.InternalMessageInfo +var xxx_messageInfo_InitOptOutFromCosmosChainRequest proto.InternalMessageInfo -func (m *InitiateOptOutFromCosmosChainRequest) GetAddress() string { +func (m *InitOptOutFromCosmosChainRequest) GetAddress() string { if m != nil { return m.Address } return "" } -func (m *InitiateOptOutFromCosmosChainRequest) GetChainId() string { +func (m *InitOptOutFromCosmosChainRequest) GetChainId() string { if m != nil { return m.ChainId } return "" } -// InitiateOptOutFromCosmosChainResponse defines the InitiateOptOutFromCosmosChain response. -type InitiateOptOutFromCosmosChainResponse struct { +// InitOptOutFromCosmosChainResponse defines the InitOptOutFromCosmosChain response. +type InitOptOutFromCosmosChainResponse struct { } -func (m *InitiateOptOutFromCosmosChainResponse) Reset() { *m = InitiateOptOutFromCosmosChainResponse{} } -func (m *InitiateOptOutFromCosmosChainResponse) String() string { return proto.CompactTextString(m) } -func (*InitiateOptOutFromCosmosChainResponse) ProtoMessage() {} -func (*InitiateOptOutFromCosmosChainResponse) Descriptor() ([]byte, []int) { +func (m *InitOptOutFromCosmosChainResponse) Reset() { *m = InitOptOutFromCosmosChainResponse{} } +func (m *InitOptOutFromCosmosChainResponse) String() string { return proto.CompactTextString(m) } +func (*InitOptOutFromCosmosChainResponse) ProtoMessage() {} +func (*InitOptOutFromCosmosChainResponse) Descriptor() ([]byte, []int) { return fileDescriptor_b229d5663e4df167, []int{12} } -func (m *InitiateOptOutFromCosmosChainResponse) XXX_Unmarshal(b []byte) error { +func (m *InitOptOutFromCosmosChainResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *InitiateOptOutFromCosmosChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *InitOptOutFromCosmosChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_InitiateOptOutFromCosmosChainResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_InitOptOutFromCosmosChainResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -698,17 +698,17 @@ func (m *InitiateOptOutFromCosmosChainResponse) XXX_Marshal(b []byte, determinis return b[:n], nil } } -func (m *InitiateOptOutFromCosmosChainResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitiateOptOutFromCosmosChainResponse.Merge(m, src) +func (m *InitOptOutFromCosmosChainResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_InitOptOutFromCosmosChainResponse.Merge(m, src) } -func (m *InitiateOptOutFromCosmosChainResponse) XXX_Size() int { +func (m *InitOptOutFromCosmosChainResponse) XXX_Size() int { return m.Size() } -func (m *InitiateOptOutFromCosmosChainResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InitiateOptOutFromCosmosChainResponse.DiscardUnknown(m) +func (m *InitOptOutFromCosmosChainResponse) XXX_DiscardUnknown() { + xxx_messageInfo_InitOptOutFromCosmosChainResponse.DiscardUnknown(m) } -var xxx_messageInfo_InitiateOptOutFromCosmosChainResponse proto.InternalMessageInfo +var xxx_messageInfo_InitOptOutFromCosmosChainResponse proto.InternalMessageInfo func init() { proto.RegisterType((*DecValueField)(nil), "exocore.operator.v1.DecValueField") @@ -722,76 +722,76 @@ func init() { proto.RegisterType((*RegisterOperatorResponse)(nil), "exocore.operator.v1.RegisterOperatorResponse") proto.RegisterType((*OptInToCosmosChainRequest)(nil), "exocore.operator.v1.OptInToCosmosChainRequest") proto.RegisterType((*OptInToCosmosChainResponse)(nil), "exocore.operator.v1.OptInToCosmosChainResponse") - proto.RegisterType((*InitiateOptOutFromCosmosChainRequest)(nil), "exocore.operator.v1.InitiateOptOutFromCosmosChainRequest") - proto.RegisterType((*InitiateOptOutFromCosmosChainResponse)(nil), "exocore.operator.v1.InitiateOptOutFromCosmosChainResponse") + proto.RegisterType((*InitOptOutFromCosmosChainRequest)(nil), "exocore.operator.v1.InitOptOutFromCosmosChainRequest") + proto.RegisterType((*InitOptOutFromCosmosChainResponse)(nil), "exocore.operator.v1.InitOptOutFromCosmosChainResponse") } func init() { proto.RegisterFile("exocore/operator/v1/tx.proto", fileDescriptor_b229d5663e4df167) } var fileDescriptor_b229d5663e4df167 = []byte{ - // 989 bytes of a gzipped FileDescriptorProto + // 985 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xf6, 0xc6, 0x4e, 0x9a, 0x3c, 0x3b, 0xb5, 0x33, 0xa9, 0x88, 0xb3, 0xb4, 0x76, 0xb2, 0xd0, - 0xe2, 0x46, 0xc4, 0xab, 0x06, 0x38, 0x34, 0x70, 0x20, 0x3f, 0x5a, 0x61, 0x91, 0x62, 0xb4, 0xa9, - 0x7a, 0x80, 0xc3, 0x6a, 0xb3, 0x3b, 0x59, 0x8f, 0x62, 0xef, 0x6c, 0x77, 0xc6, 0x6e, 0x52, 0x09, - 0x09, 0x21, 0x0e, 0x08, 0x09, 0x89, 0x23, 0xdc, 0xfa, 0x27, 0xe4, 0xd0, 0x0b, 0x07, 0xc4, 0xb5, - 0xc7, 0xaa, 0x27, 0xc4, 0x21, 0x42, 0xc9, 0x21, 0x9c, 0xf9, 0x0b, 0xd0, 0xfc, 0xd8, 0xc4, 0x69, - 0x1c, 0x48, 0x69, 0x2e, 0x89, 0xe7, 0x9b, 0xef, 0x7d, 0xef, 0xbd, 0x6f, 0xde, 0x8c, 0x16, 0xae, - 0xe2, 0x6d, 0xea, 0xd3, 0x04, 0xdb, 0x34, 0xc6, 0x89, 0xc7, 0x69, 0x62, 0xf7, 0x6e, 0xd9, 0x7c, - 0xbb, 0x1e, 0x27, 0x94, 0x53, 0x34, 0xa9, 0x77, 0xeb, 0xe9, 0x6e, 0xbd, 0x77, 0xcb, 0x9c, 0xf0, - 0x3a, 0x24, 0xa2, 0xb6, 0xfc, 0xab, 0x78, 0xe6, 0x94, 0x4f, 0x59, 0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x61, 0x98, 0x6d, 0x46, 0x84, 0xb7, 0x62, 0xde, 0xea, 0x71, + 0x51, 0xed, 0x05, 0xe5, 0xf8, 0x52, 0x12, 0xd7, 0x60, 0xee, 0x7f, 0xc2, 0xa8, 0x5c, 0x16, 0xbf, + 0xcb, 0x42, 0xf6, 0x1e, 0x0b, 0xd1, 0x16, 0x94, 0x5e, 0x16, 0x13, 0xd5, 0x87, 0xf6, 0x6f, 0xc8, + 0xd0, 0x98, 0x0b, 0xaf, 0x89, 0x54, 0x41, 0xd1, 0x23, 0x40, 0xa7, 0xe5, 0x41, 0x8d, 0x33, 0xc6, + 0xe5, 0x8c, 0x36, 0x9a, 0xf6, 0x6b, 0xe3, 0xb5, 0xee, 0x19, 0xf4, 0xb3, 0x01, 0x95, 0x33, 0x35, + 0x41, 0xb7, 0x86, 0x12, 0xbe, 0xaa, 0x55, 0xe6, 0x87, 0xe7, 0x75, 0x4b, 0xd3, 0x31, 0x47, 0xbf, + 0x3d, 0xdc, 0x9d, 0x37, 0x96, 0xd7, 0x9e, 0xed, 0x57, 0x8d, 0xe7, 0xfb, 0x55, 0xe3, 0xef, 0xfd, + 0xaa, 0xf1, 0xcb, 0x41, 0x35, 0xf3, 0xfc, 0xa0, 0x9a, 0xf9, 0xf3, 0xa0, 0x9a, 0xf9, 0x6a, 0x71, + 0x60, 0xd7, 0xef, 0xa8, 0x20, 0x5f, 0x60, 0xfe, 0x88, 0x26, 0x5b, 0x76, 0xfa, 0x11, 0xb5, 0x7d, + 0xfc, 0x19, 0x25, 0x77, 0x7f, 0x63, 0x4c, 0x7e, 0xd5, 0xbc, 0xff, 0x5f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xde, 0x35, 0xd8, 0x13, 0x67, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -813,12 +813,12 @@ type MsgClient interface { // start validatring on a chain. The operator must sign the request with // the key with which they registered in the system. OptInToCosmosChain(ctx context.Context, in *OptInToCosmosChainRequest, opts ...grpc.CallOption) (*OptInToCosmosChainResponse, error) - // InitiateOptOutFromCosmosChain is a method with which an operator can initiate + // InitOptOutFromCosmosChain is a method with which an operator can initiate // the opt out process from a chain. The operator must sign the request with // the key with which they registered in the system. The opt-out process takes // as long as the chain's unbonding period to complete, plus some loose change // for message relaying across chains. - InitiateOptOutFromCosmosChain(ctx context.Context, in *InitiateOptOutFromCosmosChainRequest, opts ...grpc.CallOption) (*InitiateOptOutFromCosmosChainResponse, error) + InitOptOutFromCosmosChain(ctx context.Context, in *InitOptOutFromCosmosChainRequest, opts ...grpc.CallOption) (*InitOptOutFromCosmosChainResponse, error) } type msgClient struct { @@ -847,9 +847,9 @@ func (c *msgClient) OptInToCosmosChain(ctx context.Context, in *OptInToCosmosCha return out, nil } -func (c *msgClient) InitiateOptOutFromCosmosChain(ctx context.Context, in *InitiateOptOutFromCosmosChainRequest, opts ...grpc.CallOption) (*InitiateOptOutFromCosmosChainResponse, error) { - out := new(InitiateOptOutFromCosmosChainResponse) - err := c.cc.Invoke(ctx, "/exocore.operator.v1.Msg/InitiateOptOutFromCosmosChain", in, out, opts...) +func (c *msgClient) InitOptOutFromCosmosChain(ctx context.Context, in *InitOptOutFromCosmosChainRequest, opts ...grpc.CallOption) (*InitOptOutFromCosmosChainResponse, error) { + out := new(InitOptOutFromCosmosChainResponse) + err := c.cc.Invoke(ctx, "/exocore.operator.v1.Msg/InitOptOutFromCosmosChain", in, out, opts...) if err != nil { return nil, err } @@ -865,12 +865,12 @@ type MsgServer interface { // start validatring on a chain. The operator must sign the request with // the key with which they registered in the system. OptInToCosmosChain(context.Context, *OptInToCosmosChainRequest) (*OptInToCosmosChainResponse, error) - // InitiateOptOutFromCosmosChain is a method with which an operator can initiate + // InitOptOutFromCosmosChain is a method with which an operator can initiate // the opt out process from a chain. The operator must sign the request with // the key with which they registered in the system. The opt-out process takes // as long as the chain's unbonding period to complete, plus some loose change // for message relaying across chains. - InitiateOptOutFromCosmosChain(context.Context, *InitiateOptOutFromCosmosChainRequest) (*InitiateOptOutFromCosmosChainResponse, error) + InitOptOutFromCosmosChain(context.Context, *InitOptOutFromCosmosChainRequest) (*InitOptOutFromCosmosChainResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -883,8 +883,8 @@ func (*UnimplementedMsgServer) RegisterOperator(ctx context.Context, req *Regist func (*UnimplementedMsgServer) OptInToCosmosChain(ctx context.Context, req *OptInToCosmosChainRequest) (*OptInToCosmosChainResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method OptInToCosmosChain not implemented") } -func (*UnimplementedMsgServer) InitiateOptOutFromCosmosChain(ctx context.Context, req *InitiateOptOutFromCosmosChainRequest) (*InitiateOptOutFromCosmosChainResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InitiateOptOutFromCosmosChain not implemented") +func (*UnimplementedMsgServer) InitOptOutFromCosmosChain(ctx context.Context, req *InitOptOutFromCosmosChainRequest) (*InitOptOutFromCosmosChainResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InitOptOutFromCosmosChain not implemented") } func RegisterMsgServer(s grpc1.Server, srv MsgServer) { @@ -927,20 +927,20 @@ func _Msg_OptInToCosmosChain_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -func _Msg_InitiateOptOutFromCosmosChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InitiateOptOutFromCosmosChainRequest) +func _Msg_InitOptOutFromCosmosChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InitOptOutFromCosmosChainRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).InitiateOptOutFromCosmosChain(ctx, in) + return srv.(MsgServer).InitOptOutFromCosmosChain(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/exocore.operator.v1.Msg/InitiateOptOutFromCosmosChain", + FullMethod: "/exocore.operator.v1.Msg/InitOptOutFromCosmosChain", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).InitiateOptOutFromCosmosChain(ctx, req.(*InitiateOptOutFromCosmosChainRequest)) + return srv.(MsgServer).InitOptOutFromCosmosChain(ctx, req.(*InitOptOutFromCosmosChainRequest)) } return interceptor(ctx, in, info, handler) } @@ -958,8 +958,8 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Handler: _Msg_OptInToCosmosChain_Handler, }, { - MethodName: "InitiateOptOutFromCosmosChain", - Handler: _Msg_InitiateOptOutFromCosmosChain_Handler, + MethodName: "InitOptOutFromCosmosChain", + Handler: _Msg_InitOptOutFromCosmosChain_Handler, }, }, Streams: []grpc.StreamDesc{}, @@ -1407,7 +1407,7 @@ func (m *OptInToCosmosChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *InitiateOptOutFromCosmosChainRequest) Marshal() (dAtA []byte, err error) { +func (m *InitOptOutFromCosmosChainRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1417,12 +1417,12 @@ func (m *InitiateOptOutFromCosmosChainRequest) Marshal() (dAtA []byte, err error return dAtA[:n], nil } -func (m *InitiateOptOutFromCosmosChainRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *InitOptOutFromCosmosChainRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *InitiateOptOutFromCosmosChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *InitOptOutFromCosmosChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1444,7 +1444,7 @@ func (m *InitiateOptOutFromCosmosChainRequest) MarshalToSizedBuffer(dAtA []byte) return len(dAtA) - i, nil } -func (m *InitiateOptOutFromCosmosChainResponse) Marshal() (dAtA []byte, err error) { +func (m *InitOptOutFromCosmosChainResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1454,12 +1454,12 @@ func (m *InitiateOptOutFromCosmosChainResponse) Marshal() (dAtA []byte, err erro return dAtA[:n], nil } -func (m *InitiateOptOutFromCosmosChainResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *InitOptOutFromCosmosChainResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *InitiateOptOutFromCosmosChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *InitOptOutFromCosmosChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1660,7 +1660,7 @@ func (m *OptInToCosmosChainResponse) Size() (n int) { return n } -func (m *InitiateOptOutFromCosmosChainRequest) Size() (n int) { +func (m *InitOptOutFromCosmosChainRequest) Size() (n int) { if m == nil { return 0 } @@ -1677,7 +1677,7 @@ func (m *InitiateOptOutFromCosmosChainRequest) Size() (n int) { return n } -func (m *InitiateOptOutFromCosmosChainResponse) Size() (n int) { +func (m *InitOptOutFromCosmosChainResponse) Size() (n int) { if m == nil { return 0 } @@ -2938,7 +2938,7 @@ func (m *OptInToCosmosChainResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *InitiateOptOutFromCosmosChainRequest) Unmarshal(dAtA []byte) error { +func (m *InitOptOutFromCosmosChainRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2961,10 +2961,10 @@ func (m *InitiateOptOutFromCosmosChainRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: InitiateOptOutFromCosmosChainRequest: wiretype end group for non-group") + return fmt.Errorf("proto: InitOptOutFromCosmosChainRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: InitiateOptOutFromCosmosChainRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: InitOptOutFromCosmosChainRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3052,7 +3052,7 @@ func (m *InitiateOptOutFromCosmosChainRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *InitiateOptOutFromCosmosChainResponse) Unmarshal(dAtA []byte) error { +func (m *InitOptOutFromCosmosChainResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3075,10 +3075,10 @@ func (m *InitiateOptOutFromCosmosChainResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: InitiateOptOutFromCosmosChainResponse: wiretype end group for non-group") + return fmt.Errorf("proto: InitOptOutFromCosmosChainResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: InitiateOptOutFromCosmosChainResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: InitOptOutFromCosmosChainResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: