From 41f7fef1f2808137541e38e7ddee8913d3e5465f Mon Sep 17 00:00:00 2001 From: Emilian Harastasan Date: Tue, 13 Dec 2022 08:11:25 +0200 Subject: [PATCH] chore: generate proto --- x/alliance/types/query.pb.go | 236 ++++++++++++++++---------------- x/alliance/types/query.pb.gw.go | 202 +++++++++++++-------------- 2 files changed, 219 insertions(+), 219 deletions(-) diff --git a/x/alliance/types/query.pb.go b/x/alliance/types/query.pb.go index bd9b7ade..de9fdb7d 100644 --- a/x/alliance/types/query.pb.go +++ b/x/alliance/types/query.pb.go @@ -997,86 +997,86 @@ func init() { proto.RegisterFile("alliance/query.proto", fileDescriptor_c4e633a0 var fileDescriptor_c4e633a06a64e02e = []byte{ // 1282 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0x3d, 0x4e, 0x9a, 0x26, 0x2f, 0x50, 0xda, 0xd7, 0x84, 0x24, 0x26, 0xb1, 0xc3, 0x96, - 0xfc, 0x20, 0x6a, 0xbc, 0x4d, 0x1a, 0x7e, 0xb4, 0xfc, 0x10, 0xf9, 0xd1, 0x94, 0xb6, 0x4a, 0x95, - 0xba, 0x02, 0xa4, 0x5e, 0xa2, 0xb1, 0x77, 0xe5, 0x58, 0x75, 0xbc, 0xee, 0xee, 0xa6, 0x6d, 0x88, - 0x22, 0x24, 0x4e, 0x3d, 0x22, 0x71, 0xe1, 0xc7, 0xa5, 0x27, 0x38, 0xc1, 0x95, 0x03, 0x47, 0x2e, - 0x95, 0x00, 0xa9, 0x12, 0x08, 0x10, 0xa2, 0x11, 0x4a, 0x40, 0xe2, 0xcf, 0x40, 0x9e, 0x9d, 0xd9, - 0x1d, 0xef, 0xae, 0xbd, 0xde, 0xc4, 0x41, 0xe2, 0x54, 0x77, 0x3c, 0xef, 0xbd, 0xcf, 0x77, 0xde, - 0x9b, 0xe7, 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, 0xfb, 0xcd, + 0x9b, 0x37, 0x81, 0x01, 0x5a, 0x2c, 0x16, 0x68, 0x39, 0xa7, 0xab, 0x77, 0xb6, 0x74, 0x73, 0x3b, + 0x5d, 0x31, 0x0d, 0xdb, 0xc0, 0x53, 0x62, 0x35, 0x2d, 0x3e, 0x12, 0x03, 0x79, 0x23, 0x6f, 0xb0, + 0x5f, 0xd5, 0xea, 0x97, 0xb3, 0x31, 0x31, 0x9a, 0x37, 0x8c, 0x7c, 0x51, 0x57, 0x69, 0xa5, 0xa0, + 0xd2, 0x72, 0xd9, 0xb0, 0xa9, 0x5d, 0x30, 0xca, 0x16, 0xff, 0x75, 0x26, 0x67, 0x58, 0x25, 0xc3, + 0x52, 0xb3, 0xd4, 0xe2, 0xfe, 0xd5, 0xbb, 0x73, 0x59, 0xdd, 0xa6, 0x73, 0x6a, 0x85, 0xe6, 0x0b, + 0x65, 0xb6, 0x99, 0xef, 0x1d, 0x74, 0x81, 0x54, 0xa8, 0x49, 0x4b, 0xc2, 0xc5, 0x90, 0xbb, 0xec, + 0x42, 0x72, 0x7e, 0x48, 0xca, 0xbe, 0x85, 0xd7, 0x9c, 0x51, 0x10, 0xfe, 0x12, 0xae, 0xa1, 0xa6, + 0x17, 0xf5, 0xbc, 0x8c, 0x4b, 0x19, 0x00, 0xbc, 0x51, 0x45, 0xb3, 0xce, 0x22, 0x65, 0xf4, 0x3b, + 0x5b, 0xba, 0x65, 0x2b, 0xd7, 0xe1, 0x74, 0xcd, 0xaa, 0x55, 0x31, 0xca, 0x96, 0x8e, 0xaf, 0x40, + 0x8f, 0x83, 0x68, 0x98, 0x8c, 0x93, 0xe9, 0xfe, 0xf9, 0x91, 0x74, 0x20, 0x39, 0x69, 0xc7, 0x64, + 0xa9, 0xfb, 0xd1, 0x5e, 0x2a, 0x96, 0xe1, 0xdb, 0x95, 0x0d, 0x18, 0x64, 0xfe, 0x16, 0xf9, 0x2e, + 0x11, 0x08, 0x57, 0x01, 0x3c, 0xfa, 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0x9d, 0x89, 0xce, 0x05, + 0xfe, 0x9c, 0xc0, 0x78, 0xad, 0x3e, 0x43, 0xc2, 0x4e, 0xc0, 0x09, 0x7e, 0x40, 0x7d, 0x59, 0x74, + 0x57, 0xab, 0x59, 0xf4, 0xa1, 0x8b, 0xb7, 0x01, 0xdd, 0x0f, 0x04, 0x66, 0xea, 0xa1, 0x5b, 0xda, + 0x0e, 0xab, 0x76, 0x2b, 0x38, 0x83, 0xa2, 0x88, 0x87, 0x88, 0xc2, 0x47, 0xa7, 0xab, 0x0d, 0x74, + 0x3e, 0x23, 0x80, 0x1e, 0x01, 0xf7, 0xc8, 0x2c, 0x03, 0x78, 0xfd, 0x8f, 0x57, 0x75, 0x2c, 0xe4, + 0xd0, 0x48, 0xdc, 0x9d, 0x36, 0x20, 0x99, 0xe1, 0x05, 0x38, 0x9e, 0xa5, 0x45, 0x76, 0xec, 0xe2, + 0xbc, 0x07, 0xca, 0x50, 0x05, 0xc8, 0x65, 0xa3, 0x20, 0xac, 0xc5, 0xfe, 0x8b, 0xdd, 0x0c, 0xdc, + 0xb7, 0xc4, 0x93, 0x7e, 0x88, 0x12, 0x38, 0xd6, 0x35, 0xe8, 0x97, 0x7a, 0x35, 0x6f, 0x5b, 0x13, + 0x0d, 0xc1, 0x0a, 0x5b, 0x1e, 0x56, 0xb6, 0x6f, 0x5f, 0xf7, 0xfa, 0x85, 0x40, 0xb2, 0x06, 0xbd, + 0x1c, 0xbf, 0x13, 0xea, 0x70, 0xdb, 0x62, 0x97, 0xd4, 0x16, 0x7d, 0x9a, 0xe9, 0x6e, 0x83, 0x66, + 0x7e, 0x15, 0x65, 0x91, 0x5a, 0x62, 0xa7, 0xb9, 0x89, 0x56, 0xdb, 0xe5, 0xb5, 0xda, 0x0e, 0x30, + 0x2b, 0x43, 0xaa, 0x6e, 0xc5, 0xb8, 0xda, 0xae, 0x85, 0x9c, 0x8c, 0x48, 0x62, 0x93, 0xcc, 0x95, + 0x27, 0x04, 0x26, 0xea,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 0xcf, 0x55, 0xdb, 0xae, 0x22, 0x8f, 0xcf, 0xfc, + 0xa7, 0x08, 0xc7, 0x18, 0x0e, 0xbc, 0x0f, 0x3d, 0xce, 0xfb, 0x03, 0x27, 0xea, 0x61, 0xad, 0x79, + 0xe8, 0x24, 0x26, 0x9b, 0x6d, 0x73, 0x02, 0x2b, 0xa9, 0x0f, 0x7f, 0xfa, 0xeb, 0xe3, 0xf8, 0x08, + 0x0e, 0xa9, 0xb6, 0x6e, 0x9a, 0xd4, 0x7d, 0x81, 0x59, 0xfc, 0x89, 0x86, 0xef, 0x43, 0x9f, 0x7b, + 0xa1, 0xe3, 0x74, 0xb3, 0x44, 0xb9, 0xf1, 0x5f, 0x6c, 0x61, 0x27, 0x87, 0x30, 0xcc, 0x20, 0x20, + 0x9e, 0xf4, 0x43, 0xc0, 0x07, 0x04, 0xfa, 0xa5, 0x66, 0x84, 0x33, 0xf5, 0x9c, 0x06, 0xc7, 0xfd, + 0x44, 0x53, 0xa8, 0x6e, 0xfc, 0x33, 0x2c, 0xfe, 0x18, 0x3e, 0x17, 0x48, 0x41, 0x21, 0x9b, 0x53, + 0x77, 0xaa, 0xcd, 0x68, 0x17, 0xbf, 0x22, 0x30, 0x54, 0x67, 0xb8, 0xc6, 0x97, 0x1b, 0x84, 0x6a, + 0x30, 0x16, 0x27, 0x16, 0x9a, 0xe6, 0x28, 0x64, 0x82, 0x52, 0x5e, 0x60, 0x70, 0x93, 0x38, 0x1a, + 0x80, 0x2b, 0x0f, 0x46, 0x5f, 0x13, 0x38, 0x15, 0x50, 0x2f, 0x9e, 0x8b, 0x20, 0x74, 0x07, 0x63, + 0xf4, 0xa3, 0xa1, 0x2c, 0x30, 0x80, 0x69, 0x3c, 0x1b, 0x00, 0xe8, 0x9d, 0x16, 0x75, 0xa7, 0xb6, + 0x97, 0xed, 0xe2, 0x17, 0x04, 0x06, 0x43, 0x1f, 0x4d, 0xb8, 0xd0, 0x42, 0x7a, 0x03, 0x6f, 0xac, + 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 0x93, 0xc7, 0x19, 0xda, 0x04, 0x0e, 0x07, 0xd0, 0xf2, + 0x44, 0x2f, 0x5d, 0x7d, 0xb4, 0x9f, 0x24, 0x8f, 0xf7, 0x93, 0xe4, 0xcf, 0xfd, 0x24, 0xf9, 0xe8, + 0x20, 0x19, 0x7b, 0x7c, 0x90, 0x8c, 0xfd, 0x76, 0x90, 0x8c, 0xdd, 0x3a, 0x27, 0xcd, 0xe1, 0xcc, + 0x7a, 0xb6, 0x64, 0x94, 0xf5, 0x6d, 0xd7, 0x87, 0x7a, 0xdf, 0xfb, 0x64, 0x53, 0x79, 0xb6, 0x87, + 0xfd, 0xc9, 0xf8, 0xfc, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x29, 0xb4, 0x46, 0xac, 0x29, 0x17, 0x00, 0x00, } @@ -1095,8 +1095,6 @@ type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Query paginated alliances Alliances(ctx context.Context, in *QueryAlliancesRequest, opts ...grpc.CallOption) (*QueryAlliancesResponse, error) - // Query a specific alliance by denom - Alliance(ctx context.Context, in *QueryAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error) // Query a specific alliance by ibc hash IBCAlliance(ctx context.Context, in *QueryIBCAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error) // Query all paginated alliance delegations @@ -1117,6 +1115,8 @@ type QueryClient interface { AllianceDelegationRewards(ctx context.Context, in *QueryAllianceDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationRewardsResponse, error) // Query for rewards by delegator addr, validator_addr and denom IBCAllianceDelegationRewards(ctx context.Context, in *QueryIBCAllianceDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryAllianceDelegationRewardsResponse, error) + // Query a specific alliance by denom + Alliance(ctx context.Context, in *QueryAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error) } type queryClient struct { @@ -1145,15 +1145,6 @@ func (c *queryClient) Alliances(ctx context.Context, in *QueryAlliancesRequest, return out, nil } -func (c *queryClient) Alliance(ctx context.Context, in *QueryAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error) { - out := new(QueryAllianceResponse) - err := c.cc.Invoke(ctx, "/alliance.alliance.Query/Alliance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *queryClient) IBCAlliance(ctx context.Context, in *QueryIBCAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error) { out := new(QueryAllianceResponse) err := c.cc.Invoke(ctx, "/alliance.alliance.Query/IBCAlliance", in, out, opts...) @@ -1244,13 +1235,20 @@ func (c *queryClient) IBCAllianceDelegationRewards(ctx context.Context, in *Quer return out, nil } +func (c *queryClient) Alliance(ctx context.Context, in *QueryAllianceRequest, opts ...grpc.CallOption) (*QueryAllianceResponse, error) { + out := new(QueryAllianceResponse) + err := c.cc.Invoke(ctx, "/alliance.alliance.Query/Alliance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Query paginated alliances Alliances(context.Context, *QueryAlliancesRequest) (*QueryAlliancesResponse, error) - // Query a specific alliance by denom - Alliance(context.Context, *QueryAllianceRequest) (*QueryAllianceResponse, error) // Query a specific alliance by ibc hash IBCAlliance(context.Context, *QueryIBCAllianceRequest) (*QueryAllianceResponse, error) // Query all paginated alliance delegations @@ -1271,6 +1269,8 @@ type QueryServer interface { AllianceDelegationRewards(context.Context, *QueryAllianceDelegationRewardsRequest) (*QueryAllianceDelegationRewardsResponse, error) // Query for rewards by delegator addr, validator_addr and denom IBCAllianceDelegationRewards(context.Context, *QueryIBCAllianceDelegationRewardsRequest) (*QueryAllianceDelegationRewardsResponse, error) + // Query a specific alliance by denom + Alliance(context.Context, *QueryAllianceRequest) (*QueryAllianceResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -1283,9 +1283,6 @@ func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsReq func (*UnimplementedQueryServer) Alliances(ctx context.Context, req *QueryAlliancesRequest) (*QueryAlliancesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Alliances not implemented") } -func (*UnimplementedQueryServer) Alliance(ctx context.Context, req *QueryAllianceRequest) (*QueryAllianceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Alliance not implemented") -} func (*UnimplementedQueryServer) IBCAlliance(ctx context.Context, req *QueryIBCAllianceRequest) (*QueryAllianceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IBCAlliance not implemented") } @@ -1316,6 +1313,9 @@ func (*UnimplementedQueryServer) AllianceDelegationRewards(ctx context.Context, func (*UnimplementedQueryServer) IBCAllianceDelegationRewards(ctx context.Context, req *QueryIBCAllianceDelegationRewardsRequest) (*QueryAllianceDelegationRewardsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IBCAllianceDelegationRewards not implemented") } +func (*UnimplementedQueryServer) Alliance(ctx context.Context, req *QueryAllianceRequest) (*QueryAllianceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Alliance not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -1357,24 +1357,6 @@ func _Query_Alliances_Handler(srv interface{}, ctx context.Context, dec func(int return interceptor(ctx, in, info, handler) } -func _Query_Alliance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllianceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).Alliance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/alliance.alliance.Query/Alliance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Alliance(ctx, req.(*QueryAllianceRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Query_IBCAlliance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryIBCAllianceRequest) if err := dec(in); err != nil { @@ -1555,6 +1537,24 @@ func _Query_IBCAllianceDelegationRewards_Handler(srv interface{}, ctx context.Co return interceptor(ctx, in, info, handler) } +func _Query_Alliance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllianceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Alliance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/alliance.alliance.Query/Alliance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Alliance(ctx, req.(*QueryAllianceRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "alliance.alliance.Query", HandlerType: (*QueryServer)(nil), @@ -1567,10 +1567,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "Alliances", Handler: _Query_Alliances_Handler, }, - { - MethodName: "Alliance", - Handler: _Query_Alliance_Handler, - }, { MethodName: "IBCAlliance", Handler: _Query_IBCAlliance_Handler, @@ -1611,6 +1607,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "IBCAllianceDelegationRewards", Handler: _Query_IBCAllianceDelegationRewards_Handler, }, + { + MethodName: "Alliance", + Handler: _Query_Alliance_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "alliance/query.proto", diff --git a/x/alliance/types/query.pb.gw.go b/x/alliance/types/query.pb.gw.go index 703234bf..35c96bc1 100644 --- a/x/alliance/types/query.pb.gw.go +++ b/x/alliance/types/query.pb.gw.go @@ -87,60 +87,6 @@ func local_request_Query_Alliances_0(ctx context.Context, marshaler runtime.Mars } -func request_Query_Alliance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAllianceRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["denom"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") - } - - protoReq.Denom, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) - } - - msg, err := client.Alliance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_Alliance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAllianceRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["denom"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") - } - - protoReq.Denom, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) - } - - msg, err := server.Alliance(ctx, &protoReq) - return msg, metadata, err - -} - func request_Query_IBCAlliance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryIBCAllianceRequest var metadata runtime.ServerMetadata @@ -951,6 +897,60 @@ func local_request_Query_IBCAllianceDelegationRewards_0(ctx context.Context, mar } +func request_Query_Alliance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllianceRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := client.Alliance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Alliance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllianceRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := server.Alliance(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -1003,29 +1003,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_Alliance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_Alliance_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Alliance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_IBCAlliance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1256,6 +1233,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_Alliance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Alliance_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Alliance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1337,26 +1337,6 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_Alliance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_Alliance_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Alliance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_IBCAlliance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1557,6 +1537,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Alliance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Alliance_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Alliance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1565,8 +1565,6 @@ var ( pattern_Query_Alliances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"terra", "alliances"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_Alliance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"terra", "alliances", "denom"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_IBCAlliance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"terra", "alliances", "ibc", "hash"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_AllAlliancesDelegations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"terra", "alliances", "delegations"}, "", runtime.AssumeColonVerbOpt(true))) @@ -1586,6 +1584,8 @@ var ( pattern_Query_AllianceDelegationRewards_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"terra", "alliances", "rewards", "delegator_addr", "validator_addr", "denom"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_IBCAllianceDelegationRewards_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"terra", "alliances", "rewards", "delegator_addr", "validator_addr", "ibc", "hash"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Query_Alliance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"terra", "alliances", "denom"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( @@ -1593,8 +1593,6 @@ var ( forward_Query_Alliances_0 = runtime.ForwardResponseMessage - forward_Query_Alliance_0 = runtime.ForwardResponseMessage - forward_Query_IBCAlliance_0 = runtime.ForwardResponseMessage forward_Query_AllAlliancesDelegations_0 = runtime.ForwardResponseMessage @@ -1614,4 +1612,6 @@ var ( forward_Query_AllianceDelegationRewards_0 = runtime.ForwardResponseMessage forward_Query_IBCAllianceDelegationRewards_0 = runtime.ForwardResponseMessage + + forward_Query_Alliance_0 = runtime.ForwardResponseMessage )