From 64de3ac521888efc64a6bf73262f084dea5f7810 Mon Sep 17 00:00:00 2001 From: Bernd Mueller Date: Mon, 13 Nov 2023 09:15:22 +0100 Subject: [PATCH] tmp proto --- .../ccv/provider/v1/query.proto | 13 + .../ccv/provider/v1/tx.proto | 6 +- x/ccv/provider/types/query.pb.go | 502 +++++++++++++++--- x/ccv/provider/types/query.pb.gw.go | 65 +++ x/ccv/provider/types/tx.pb.go | 160 +++--- 5 files changed, 579 insertions(+), 167 deletions(-) diff --git a/proto/interchain_security/ccv/provider/v1/query.proto b/proto/interchain_security/ccv/provider/v1/query.proto index b0c1dc2b47..772f1f2a9e 100644 --- a/proto/interchain_security/ccv/provider/v1/query.proto +++ b/proto/interchain_security/ccv/provider/v1/query.proto @@ -81,6 +81,10 @@ service Query { option (google.api.http).get = "/interchain_security/ccv/provider/registered_consumer_reward_denoms"; } + + rpc QueryParams(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/interchain_security/ccv/provider/params"; + } } message QueryConsumerGenesisRequest { string chain_id = 1; } @@ -187,3 +191,12 @@ message QueryRegisteredConsumerRewardDenomsRequest {} message QueryRegisteredConsumerRewardDenomsResponse { repeated string denoms = 1; } + +// Request to query values set for provider parameters +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // params holds all the parameters of this module. + interchain_security.ccv.provider.v1.Params params = 1 [ (gogoproto.nullable) = false ]; +} diff --git a/proto/interchain_security/ccv/provider/v1/tx.proto b/proto/interchain_security/ccv/provider/v1/tx.proto index d718c199f1..4b07c47a0c 100644 --- a/proto/interchain_security/ccv/provider/v1/tx.proto +++ b/proto/interchain_security/ccv/provider/v1/tx.proto @@ -38,10 +38,10 @@ service Msg { // MsgUpdateParams is the Msg/UpdateParams request type message MsgUpdateParams { - option (cosmos.msg.v1.signer) = "authority"; + option (cosmos.msg.v1.signer) = "signer"; - // authority is the address of the governance account. - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // signer is the address of the governance account. + string signer = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // params defines the x/provider parameters to update. Params params = 2 [(gogoproto.nullable) = false]; diff --git a/x/ccv/provider/types/query.pb.go b/x/ccv/provider/types/query.pb.go index 9fc9178e09..858a529c6e 100644 --- a/x/ccv/provider/types/query.pb.go +++ b/x/ccv/provider/types/query.pb.go @@ -1039,6 +1039,89 @@ func (m *QueryRegisteredConsumerRewardDenomsResponse) GetDenoms() []string { return nil } +// Request to query values set for provider parameters +type QueryParamsRequest struct { +} + +func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } +func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryParamsRequest) ProtoMessage() {} +func (*QueryParamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_422512d7b7586cd7, []int{21} +} +func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsRequest.Merge(m, src) +} +func (m *QueryParamsRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo + +// QueryParamsResponse is response type for the Query/Params RPC method. +type QueryParamsResponse struct { + // params holds all the parameters of this module. + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` +} + +func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } +func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryParamsResponse) ProtoMessage() {} +func (*QueryParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_422512d7b7586cd7, []int{22} +} +func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryParamsResponse.Merge(m, src) +} +func (m *QueryParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo + +func (m *QueryParamsResponse) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + func init() { proto.RegisterType((*QueryConsumerGenesisRequest)(nil), "interchain_security.ccv.provider.v1.QueryConsumerGenesisRequest") proto.RegisterType((*QueryConsumerGenesisResponse)(nil), "interchain_security.ccv.provider.v1.QueryConsumerGenesisResponse") @@ -1061,6 +1144,8 @@ func init() { proto.RegisterType((*ThrottledPacketDataWrapper)(nil), "interchain_security.ccv.provider.v1.ThrottledPacketDataWrapper") proto.RegisterType((*QueryRegisteredConsumerRewardDenomsRequest)(nil), "interchain_security.ccv.provider.v1.QueryRegisteredConsumerRewardDenomsRequest") proto.RegisterType((*QueryRegisteredConsumerRewardDenomsResponse)(nil), "interchain_security.ccv.provider.v1.QueryRegisteredConsumerRewardDenomsResponse") + proto.RegisterType((*QueryParamsRequest)(nil), "interchain_security.ccv.provider.v1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "interchain_security.ccv.provider.v1.QueryParamsResponse") } func init() { @@ -1068,90 +1153,94 @@ func init() { } var fileDescriptor_422512d7b7586cd7 = []byte{ - // 1323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, - 0x1f, 0xf5, 0x3a, 0x69, 0x9a, 0x4c, 0xfa, 0xfd, 0xb6, 0x4c, 0x4b, 0x71, 0xb7, 0x95, 0x5d, 0xb6, - 0x02, 0xd2, 0x16, 0x76, 0x1b, 0x57, 0x48, 0x6d, 0x21, 0x75, 0xed, 0x24, 0xa4, 0x51, 0x1b, 0x35, - 0xac, 0xab, 0x56, 0x02, 0xd4, 0x65, 0xb2, 0x3b, 0xd8, 0x2b, 0xd6, 0x3b, 0xdb, 0x99, 0xb1, 0xd3, - 0x80, 0x38, 0x00, 0x12, 0xf4, 0x58, 0x09, 0x71, 0xe3, 0xd0, 0x13, 0xff, 0x05, 0xf7, 0xde, 0xa8, - 0xe8, 0xa5, 0xa7, 0x82, 0x12, 0x0e, 0x1c, 0x11, 0x77, 0x24, 0xb4, 0xb3, 0xb3, 0xfe, 0x11, 0x6f, - 0xec, 0xb5, 0x9b, 0x9b, 0x3d, 0x3b, 0x9f, 0xf7, 0x79, 0xef, 0xe9, 0x33, 0xb3, 0x6f, 0x81, 0xe1, - 0xfa, 0x1c, 0x53, 0xbb, 0x8e, 0x5c, 0xdf, 0x62, 0xd8, 0x6e, 0x52, 0x97, 0x6f, 0x19, 0xb6, 0xdd, - 0x32, 0x02, 0x4a, 0x5a, 0xae, 0x83, 0xa9, 0xd1, 0x9a, 0x37, 0xee, 0x37, 0x31, 0xdd, 0xd2, 0x03, - 0x4a, 0x38, 0x81, 0x67, 0x12, 0x0a, 0x74, 0xdb, 0x6e, 0xe9, 0x71, 0x81, 0xde, 0x9a, 0x57, 0x4f, - 0xd5, 0x08, 0xa9, 0x79, 0xd8, 0x40, 0x81, 0x6b, 0x20, 0xdf, 0x27, 0x1c, 0x71, 0x97, 0xf8, 0x2c, - 0x82, 0x50, 0x8f, 0xd5, 0x48, 0x8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1, 0x42, 0xcd, 0xe5, 0xf5, 0xe6, - 0x86, 0x6e, 0x93, 0x86, 0x61, 0x13, 0xd6, 0x20, 0xac, 0xab, 0xdf, 0x3b, 0xed, 0x7e, 0xad, 0x8b, - 0xc6, 0x83, 0x5d, 0xf3, 0xb7, 0x15, 0x60, 0xb6, 0x31, 0x25, 0xbe, 0x56, 0x2e, 0xfe, 0x17, 0x00, - 0x00, 0xff, 0xff, 0x84, 0xab, 0xda, 0x7b, 0x39, 0x13, 0x00, 0x00, + // 1384 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xc1, 0x6f, 0x13, 0xc7, + 0x1b, 0xf5, 0x26, 0x21, 0x24, 0x13, 0x7e, 0x3f, 0xd0, 0x90, 0x52, 0xb3, 0xa0, 0x98, 0x2e, 0x6a, + 0x1b, 0xa0, 0xdd, 0x4d, 0x8c, 0xaa, 0x02, 0x6d, 0x08, 0x71, 0x48, 0x43, 0x04, 0x88, 0x74, 0x83, + 0x40, 0x6a, 0x2b, 0x96, 0xc9, 0xee, 0xd4, 0x59, 0x75, 0xbd, 0xb3, 0xcc, 0x8c, 0x1d, 0xd2, 0xaa, + 0x87, 0xb6, 0x52, 0xcb, 0x11, 0xa9, 0xea, 0x9d, 0x53, 0xff, 0x80, 0xde, 0x7b, 0xe7, 0x56, 0x5a, + 0x2e, 0x9c, 0x68, 0x15, 0x7a, 0xe8, 0xb1, 0xea, 0xbd, 0x52, 0xb5, 0x33, 0xb3, 0xb6, 0x37, 0xde, + 0xd8, 0x6b, 0x93, 0x9b, 0x3d, 0x3b, 0xdf, 0xfb, 0xde, 0x7b, 0xfe, 0x66, 0xf6, 0x19, 0x58, 0x7e, + 0xc8, 0x31, 0x75, 0x37, 0x90, 0x1f, 0x3a, 0x0c, 0xbb, 0x75, 0xea, 0xf3, 0x2d, 0xcb, 0x75, 0x1b, + 0x56, 0x44, 0x49, 0xc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d, 0x3e, 0x12, 0xa3, 0xd8, 0x09, 0xc8, 0x62, 0x82, 0x01, 0xd7, 0xc0, 0xfe, + 0x08, 0xb9, 0x9f, 0x61, 0xce, 0x8a, 0x23, 0xe2, 0x56, 0x3a, 0x9f, 0xeb, 0x08, 0x25, 0x0e, 0x78, + 0x6b, 0x31, 0xe7, 0x55, 0x81, 0x60, 0x27, 0x48, 0xc6, 0x65, 0x75, 0x88, 0x9b, 0xbb, 0x92, 0x89, + 0x93, 0x1b, 0x2f, 0x23, 0x8e, 0x72, 0xdc, 0xf0, 0xbf, 0x25, 0x17, 0x58, 0x57, 0x18, 0x65, 0x7e, + 0x97, 0x69, 0x83, 0x60, 0x84, 0xf9, 0x9f, 0x4b, 0x97, 0x47, 0x6c, 0xf1, 0x19, 0x6e, 0x82, 0xc3, + 0x51, 0x13, 0x64, 0x25, 0x64, 0x3c, 0x36, 0x9b, 0x15, 0x87, 0x85, 0x05, 0xf3, 0xfd, 0x59, 0xd0, + 0x62, 0x73, 0x9b, 0xa2, 0x28, 0xc2, 0x54, 0xbd, 0x3a, 0xb2, 0x3a, 0x18, 0x3f, 0x6b, 0x60, 0x32, + 0xcb, 0x3c, 0x78, 0x07, 0x1c, 0xa8, 0x06, 0x64, 0x1d, 0x05, 0x0e, 0x0e, 0x39, 0xdd, 0x52, 0x17, + 0xda, 0x3b, 0xb9, 0xa8, 0x2c, 0x8b, 0x42, 0x81, 0xb6, 0x14, 0x17, 0x2b, 0x02, 0x13, 0x12, 0x50, + 0x2c, 0xc1, 0x25, 0x30, 0xe2, 0x21, 0x8e, 0x84, 0x0b, 0x13, 0xe5, 0x33, 0xdd, 0x5e, 0x83, 0x6d, + 0xb4, 0x62, 0xf2, 0x0a, 0x4d, 0x94, 0x1b, 0xcf, 0x34, 0xa0, 0xef, 0xae, 0x1c, 0xae, 0x82, 0x03, + 0x72, 0xc4, 0xa5, 0x76, 0xa5, 0xa2, 0x9f, 0x6e, 0x57, 0x0a, 0xb6, 0x3c, 0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, 0xed, 0xef, 0xc3, 0x0b, 0xbd, 0xb5, 0x47, + 0x38, 0xf4, 0xfc, 0xb0, 0xda, 0x9a, 0x63, 0x95, 0x94, 0xe1, 0x0f, 0x43, 0xe0, 0x64, 0x8e, 0x18, + 0x01, 0x6f, 0xe4, 0xa7, 0x9e, 0x2b, 0xbe, 0xe8, 0xab, 0x7b, 0x07, 0xa8, 0xec, 0xb8, 0x2a, 0xec, + 0x58, 0x82, 0x8b, 0xbd, 0xed, 0xa0, 0x4d, 0xc4, 0x96, 0x23, 0x54, 0x60, 0x3a, 0x32, 0x16, 0xc1, + 0x9f, 0x34, 0x30, 0xd1, 0x96, 0x80, 0xe0, 0xbb, 0xf9, 0xe9, 0xa6, 0x92, 0x94, 0x7e, 0xae, 0xff, + 0x42, 0xa5, 0x67, 0x46, 0xe8, 0x39, 0x0d, 0xa7, 0x73, 0xfc, 0xbc, 0x32, 0x61, 0xdd, 0x7e, 0xbc, + 0x3d, 0xa5, 0x3d, 0xd9, 0x9e, 0xd2, 0xfe, 0xd8, 0x9e, 0xd2, 0x1e, 0xbe, 0x98, 0x2a, 0x3c, 0x79, + 0x31, 0x55, 0x78, 0xf6, 0x62, 0xaa, 0xf0, 0xd1, 0x5c, 0xd5, 0xe7, 0x1b, 0xf5, 0x75, 0xd3, 0x25, + 0x35, 0xcb, 0x25, 0xac, 0x46, 0x58, 0x1b, 0xe8, 0xdb, 0x4d, 0xd0, 0xc6, 0x59, 0xeb, 0xfe, 0x8e, + 0x43, 0xb3, 0x15, 0x61, 0xb6, 0x3e, 0x2a, 0xfe, 0xda, 0x9d, 0xfd, 0x2f, 0x00, 0x00, 0xff, 0xff, + 0x0d, 0xfa, 0x6f, 0xc1, 0x66, 0x14, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1191,6 +1280,7 @@ type QueryClient interface { // QueryRegisteredConsumerRewardDenoms returns a list of consumer reward // denoms that are registered QueryRegisteredConsumerRewardDenoms(ctx context.Context, in *QueryRegisteredConsumerRewardDenomsRequest, opts ...grpc.CallOption) (*QueryRegisteredConsumerRewardDenomsResponse, error) + QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) } type queryClient struct { @@ -1282,6 +1372,15 @@ func (c *queryClient) QueryRegisteredConsumerRewardDenoms(ctx context.Context, i return out, nil } +func (c *queryClient) QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + out := new(QueryParamsResponse) + err := c.cc.Invoke(ctx, "/interchain_security.ccv.provider.v1.Query/QueryParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // ConsumerGenesis queries the genesis state needed to start a consumer chain @@ -1309,6 +1408,7 @@ type QueryServer interface { // QueryRegisteredConsumerRewardDenoms returns a list of consumer reward // denoms that are registered QueryRegisteredConsumerRewardDenoms(context.Context, *QueryRegisteredConsumerRewardDenomsRequest) (*QueryRegisteredConsumerRewardDenomsResponse, error) + QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -1342,6 +1442,9 @@ func (*UnimplementedQueryServer) QueryThrottledConsumerPacketData(ctx context.Co func (*UnimplementedQueryServer) QueryRegisteredConsumerRewardDenoms(ctx context.Context, req *QueryRegisteredConsumerRewardDenomsRequest) (*QueryRegisteredConsumerRewardDenomsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueryRegisteredConsumerRewardDenoms not implemented") } +func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method QueryParams not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -1509,6 +1612,24 @@ func _Query_QueryRegisteredConsumerRewardDenoms_Handler(srv interface{}, ctx con return interceptor(ctx, in, info, handler) } +func _Query_QueryParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).QueryParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/interchain_security.ccv.provider.v1.Query/QueryParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).QueryParams(ctx, req.(*QueryParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "interchain_security.ccv.provider.v1.Query", HandlerType: (*QueryServer)(nil), @@ -1549,6 +1670,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "QueryRegisteredConsumerRewardDenoms", Handler: _Query_QueryRegisteredConsumerRewardDenoms_Handler, }, + { + MethodName: "QueryParams", + Handler: _Query_QueryParams_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "interchain_security/ccv/provider/v1/query.proto", @@ -2293,6 +2418,62 @@ func (m *QueryRegisteredConsumerRewardDenomsResponse) MarshalToSizedBuffer(dAtA return len(dAtA) - i, nil } +func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -2613,6 +2794,26 @@ func (m *QueryRegisteredConsumerRewardDenomsResponse) Size() (n int) { return n } +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -4486,6 +4687,139 @@ func (m *QueryRegisteredConsumerRewardDenomsResponse) Unmarshal(dAtA []byte) err } return nil } +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/ccv/provider/types/query.pb.gw.go b/x/ccv/provider/types/query.pb.gw.go index 6a249ca2a2..86eecb97a2 100644 --- a/x/ccv/provider/types/query.pb.gw.go +++ b/x/ccv/provider/types/query.pb.gw.go @@ -285,6 +285,24 @@ func local_request_Query_QueryRegisteredConsumerRewardDenoms_0(ctx context.Conte } +func request_Query_QueryParams_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := client.QueryParams(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_QueryParams_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := server.QueryParams(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. @@ -498,6 +516,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_QueryParams_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_QueryParams_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_QueryParams_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -719,6 +760,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_QueryParams_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_QueryParams_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_QueryParams_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -740,6 +801,8 @@ var ( pattern_Query_QueryThrottledConsumerPacketData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"interchain_security", "ccv", "provider", "pending_consumer_packets"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryRegisteredConsumerRewardDenoms_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"interchain_security", "ccv", "provider", "registered_consumer_reward_denoms"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_QueryParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"interchain_security", "ccv", "provider", "params"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -760,4 +823,6 @@ var ( forward_Query_QueryThrottledConsumerPacketData_0 = runtime.ForwardResponseMessage forward_Query_QueryRegisteredConsumerRewardDenoms_0 = runtime.ForwardResponseMessage + + forward_Query_QueryParams_0 = runtime.ForwardResponseMessage ) diff --git a/x/ccv/provider/types/tx.pb.go b/x/ccv/provider/types/tx.pb.go index a91af631e3..186c0ec7ca 100644 --- a/x/ccv/provider/types/tx.pb.go +++ b/x/ccv/provider/types/tx.pb.go @@ -41,8 +41,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgUpdateParams is the Msg/UpdateParams request type type MsgUpdateParams struct { - // authority is the address of the governance account. - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // signer is the address of the governance account. + Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // params defines the x/provider parameters to update. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` } @@ -80,9 +80,9 @@ func (m *MsgUpdateParams) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo -func (m *MsgUpdateParams) GetAuthority() string { +func (m *MsgUpdateParams) GetSigner() string { if m != nil { - return m.Authority + return m.Signer } return "" } @@ -659,75 +659,75 @@ func init() { } var fileDescriptor_43221a4391e9fbf4 = []byte{ - // 1086 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xf6, 0x36, 0x6d, 0x1a, 0x8f, 0xf3, 0x73, 0x9b, 0x2a, 0x8e, 0x49, 0xed, 0xc4, 0x70, 0x88, - 0x0a, 0xd9, 0x25, 0x29, 0xa2, 0x10, 0x81, 0xc0, 0x4e, 0x80, 0x14, 0x14, 0x08, 0x4b, 0x10, 0x12, - 0x1c, 0x56, 0xe3, 0xd9, 0xc9, 0xee, 0xa8, 0xde, 0x99, 0xd5, 0xcc, 0xd8, 0xad, 0x6f, 0xa8, 0x27, - 0x24, 0x24, 0x54, 0x24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xa9, 0xa2, 0xe9, 0xca, 0x00, 0xb6, - 0x46, 0x39, 0xca, 0xee, 0x41, 0x69, 0x4e, 0xf5, 0xbe, 0x05, 0xe6, 0xf6, 0x45, 0xf8, 0x79, 0x12, - 0x40, 0x89, 0x0f, 0x20, 0x87, 0xb1, 0xb0, 0x5f, 0x07, 0x79, 0xd8, 0x92, 0x11, 0x53, 0xfc, 0xa2, - 0xb5, 0x6a, 0xad, 0xe7, 0xeb, 0xc5, 0x5f, 0x7e, 0xde, 0x58, 0x34, 0x36, 0x6b, 0x41, 0xc0, 0xb1, - 0x10, 0x9f, 0x49, 0x4e, 0x68, 0xe8, 0xf5, 0xa0, 0xf6, 0x0d, 0x30, 0x99, 0x68, 0x85, 0xe2, 0xb9, - 0x55, 0x6b, 0xbd, 0xb0, 0xf5, 0xb2, 0x33, 0xc2, 0xdb, 0x72, 0xd2, 0xa4, 0xf5, 0xf3, 0x0f, 0x1f, - 0x57, 0x72, 0x9e, 0x11, 0xd8, 0x9e, 0xbd, 0xf3, 0xe4, 0xc1, 0xd5, 0x9e, 0x74, 0x75, 0x19, 0x2c, - 0x0d, 0xb8, 0xf4, 0xb0, 0x48, 0x18, 0x15, 0xb8, 0xfa, 0xab, 0x05, 0x16, 0xf7, 0x45, 0x58, 0x13, - 0x82, 0x84, 0x74, 0x87, 0x51, 0xd1, 0x8a, 0x31, 0xff, 0x08, 0x77, 0xec, 0x65, 0x30, 0x95, 0xa6, - 0x26, 0x41, 0x5a, 0x85, 0x77, 0x51, 0x3f, 0xdf, 0x08, 0xec, 0xeb, 0x60, 0x26, 0xb3, 0xe0, 0xc3, - 0x20, 0xe0, 0xda, 0x70, 0xbe, 0x6e, 0xff, 0xf3, 0xb8, 0x32, 0xdb, 0x81, 0x71, 0x73, 0xbb, 0x0a, - 0xd3, 0x22, 0xab, 0xde, 0x74, 0x06, 0x54, 0x65, 0xdb, 0x6b, 0x60, 0x1a, 0x99, 0x14, 0xfe, 0x4d, - 0xdc, 0x29, 0x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a, 0xf8, 0xdc, 0xae, 0xad, 0x3b, 0x16, 0x98, 0x3e, 0xf5, 0x69, - 0xf4, 0xda, 0xa8, 0xa2, 0xfd, 0xac, 0xd2, 0x5b, 0xe3, 0xb0, 0x32, 0x13, 0xa5, 0x0b, 0x5f, 0x3f, - 0x79, 0x70, 0xd5, 0xaa, 0x7f, 0xf1, 0xf0, 0xb8, 0x6c, 0x3d, 0x3a, 0x2e, 0x5b, 0x7f, 0x1d, 0x97, - 0xad, 0xbb, 0x27, 0xe5, 0xdc, 0xa3, 0x93, 0x72, 0xee, 0xf7, 0x93, 0x72, 0xee, 0xcb, 0xb7, 0x43, - 0x22, 0xa3, 0x56, 0xc3, 0x41, 0x2c, 0x36, 0x9f, 0x92, 0x6e, 0x2f, 0xdf, 0x46, 0xf7, 0x4b, 0xb0, - 0x7d, 0xcd, 0xbd, 0x7d, 0xfa, 0x73, 0x50, 0x76, 0x12, 0x2c, 0x1a, 0x93, 0xfa, 0x0e, 0xba, 0xf6, - 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xed, 0x66, 0xa6, 0xd5, 0x8a, 0x0b, 0x00, 0x00, + // 1075 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xf6, 0x36, 0x6d, 0x9a, 0x8c, 0x93, 0x26, 0x99, 0xa6, 0x8a, 0x63, 0x52, 0x3b, 0x31, 0x1c, + 0xa2, 0x42, 0x76, 0x49, 0x8a, 0x54, 0x88, 0x40, 0x60, 0x27, 0x40, 0x0a, 0x0a, 0x84, 0x25, 0x08, + 0x09, 0x0e, 0xab, 0xf1, 0xec, 0x64, 0x3d, 0xaa, 0x77, 0x66, 0x35, 0x33, 0x76, 0xeb, 0x1b, 0xea, + 0x09, 0x09, 0x09, 0x15, 0x89, 0x03, 0x12, 0x97, 0x1e, 0xf8, 0x01, 0x45,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0x56, 0x76, 0x37, 0xca, 0x70, 0x2a, 0x3f, 0x3a, 0x60, 0x6e, 0x5f, 0x46, 0x9f, + 0x25, 0x21, 0x52, 0xe4, 0x00, 0x09, 0x14, 0x4b, 0xf8, 0x2a, 0x98, 0x94, 0x34, 0x62, 0x44, 0x14, + 0x9c, 0x55, 0x67, 0x7d, 0xba, 0x56, 0xf8, 0xf5, 0x97, 0x8d, 0x45, 0xeb, 0xb1, 0x1a, 0x86, 0x82, + 0x48, 0xf9, 0xa9, 0x12, 0x94, 0x45, 0xbe, 0xc5, 0xc1, 0x9b, 0x60, 0x32, 0x31, 0xdc, 0xc2, 0xb9, + 0x55, 0x67, 0x3d, 0xbf, 0xf5, 0xb2, 0x3b, 0xc2, 0x77, 0x72, 0xd3, 0x74, 0xb5, 0xf3, 0x0f, 0x1f, + 0x97, 0x73, 0xbe, 0x15, 0xd8, 0xce, 0xdf, 0x7d, 0xf2, 0xe0, 0x9a, 0xd5, 0xad, 0x2c, 0x83, 0xa5, + 0x01, 0x73, 0x3e, 0x91, 0x09, 0x67, 0x92, 0x54, 0x7e, 0x73, 0xc0, 0xe2, 0xbe, 0x8c, 0xaa, 0x52, + 0x43, 0x77, 0x38, 0x93, 0xad, 0x98, 0x88, 0x0f, 0x49, 0x07, 0x2e, 0x83, 0xa9, 0x34, 0x2f, 0x0d, + 0x53, 0xff, 0xfe, 0x45, 0xf3, 0x7c, 0x33, 0x84, 0x37, 0xc0, 0x6c, 0x96, 0x3f, 0x40, 0x61, 0x28, + 0x8c, 0xdb, 0xe9, 0x1a, 0xfc, 0xf7, 0x71, 0xf9, 0x52, 0x07, 0xc5, 0xcd, 0xed, 0x0a, 0x4a, 0xcb, + 0xab, 0xf8, 0x33, 0x19, 0x50, 0x17, 0x0c, 0xd7, 0xc0, 0x0c, 0xb6, 0x29, 0x82, 0x5b, 0xa4, 0x53, + 0x98, 0x30, 0xba, 0x79, 0xdc, 0x93, 0xf6, 0x74, 0xd3, 0xce, 0x8f, 0xb6, 0x69, 0xdb, 0x97, 0xbf, + 0xbe, 0x5f, 0xce, 0xfd, 0x73, 0xbf, 0x9c, 0xeb, 0xad, 0xb8, 0x04, 0x56, 0x86, 0x55, 0xd5, 0x2d, + 0xfb, 0xf7, 0x49, 0x70, 0x79, 0x5f, 0x46, 0x59, 0xa8, 0x1a, 0x86, 0x54, 0xf7, 0xe1, 0xb3, 0xaa, + 0x7e, 0x1f, 0x5c, 0xa2, 0x8c, 0x2a, 0x8a, 0x9a, 0x41, 0x83, 0xd0, 0xa8, 0xa1, 0xec, 0x47, 0x2a, + 0xba, 0xb4, 0x8e, 0x5d, 0xdd, 0x50, 0xae, 0x6d, 0xa3, 0xf6, 0xa6, 0xbb, 0x67, 0x10, 0xf6, 0x9b, + 0xcc, 0x5a, 0x5e, 0xfa, 0x52, 0xef, 0x42, 0x44, 0x18, 0x91, 0x54, 0x06, 0x0d, 0x24, 0x1b, 0x66, + 0x17, 0x66, 0xfc, 0xbc, 0x7d, 0xb7, 0x87, 0x64, 0x03, 0x96, 0x41, 0xbe, 0x4e, 0x19, 0x12, 0x9d, + 0x14, 0x71, 0xde, 0x20, 0x40, 0xfa, 0xca, 0x00, 0x76, 0x00, 0x90, 0x09, 0xba, 0xcd, 0x02, 0x3d, + 0x62, 0x85, 0x0b, 0xd6, 0x48, 0x3a, 0x3e, 0x6e, 0x36, 0x3e, 0xee, 0x61, 0x36, 0x7f, 0xb5, 0x29, + 0x6d, 0xe4, 0xde, 0x5f, 0x65, 0xc7, 0x9f, 0x36, 0x3c, 0x1d, 0x81, 0x1f, 0x81, 0xf9, 0x16, 0xab, + 0x73, 0x16, 0x52, 0x16, 0x05, 0x09, 0x11, 0x94, 0x87, 0x85, 0x49, 0x23, 0xb5, 0x7c, 0x46, 0x6a, + 0xd7, 0x4e, 0x6a, 0xaa, 0xf4, 0x83, 0x56, 0x9a, 0xeb, 0x92, 0x0f, 0x0c, 0x17, 0x7e, 0x02, 0x20, + 0xc6, 0x6d, 0x63, 0x89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0xa2, 0x78, 0xe1, 0xab, 0x27, 0x0f, 0xae, 0x39, 0xb5, 0xcf, 0x1f, 0x1e, 0x97, 0x9c, 0x47, + 0xc7, 0x25, 0xe7, 0xef, 0xe3, 0x92, 0x73, 0xef, 0xa4, 0x94, 0x7b, 0x74, 0x52, 0xca, 0xfd, 0x71, + 0x52, 0xca, 0x7d, 0xf1, 0x56, 0x44, 0x55, 0xa3, 0x55, 0x77, 0x31, 0x8f, 0xed, 0x0d, 0xd2, 0x3b, + 0xcd, 0xb7, 0xd1, 0xbd, 0x00, 0xb6, 0xaf, 0x7b, 0x77, 0xfa, 0x6f, 0x81, 0xaa, 0x93, 0x10, 0x59, + 0x9f, 0x34, 0x67, 0xd0, 0xf5, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x60, 0xfa, 0xcb, 0x81, + 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -984,10 +984,10 @@ func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x12 - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + if len(m.Signer) > 0 { + i -= len(m.Signer) + copy(dAtA[i:], m.Signer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signer))) i-- dAtA[i] = 0xa } @@ -1387,7 +1387,7 @@ func (m *MsgUpdateParams) Size() (n int) { } var l int _ = l - l = len(m.Authority) + l = len(m.Signer) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1596,7 +1596,7 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1624,7 +1624,7 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Authority = string(dAtA[iNdEx:postIndex]) + m.Signer = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 {