From 19bd925ad9c4de49b1874c8bfb2342adc018d149 Mon Sep 17 00:00:00 2001 From: devin Date: Wed, 19 Feb 2025 15:20:43 +0800 Subject: [PATCH] update swagger json file --- client/docs/swagger-ui/swagger.json | 19 ++-- proto/exocore/avs/v1/query.proto | 4 +- x/avs/types/query.pb.go | 140 +++++++++------------------- x/avs/types/query.pb.gw.go | 24 +---- 4 files changed, 52 insertions(+), 135 deletions(-) diff --git a/client/docs/swagger-ui/swagger.json b/client/docs/swagger-ui/swagger.json index 2aad0abf4..5aba0b404 100644 --- a/client/docs/swagger-ui/swagger.json +++ b/client/docs/swagger-ui/swagger.json @@ -21181,7 +21181,7 @@ }, "/exocore/avs/v1/avs_address/{chain}": { "get": { - "summary": "QueryAVSAddressByChainID queries the avs address by chain id", + "summary": "Query the avs address by chain id", "operationId": "QueryAVSAddressByChainID", "responses": { "200": { @@ -21247,7 +21247,7 @@ }, "/exocore/avs/v1/avs_info": { "get": { - "summary": "Parameters queries the parameters of the module.", + "summary": "Query avs info by avs address.", "operationId": "QueryAVSInfo", "responses": { "200": { @@ -21423,7 +21423,7 @@ "name": "avs_address", "description": "avs_address is the address of avs.", "in": "query", - "required": false, + "required": true, "type": "string" } ], @@ -21622,9 +21622,9 @@ ] } }, - "/exocore/avs/v1/challenge_info/{task_address}/{task_id}/{operator_address}": { + "/exocore/avs/v1/challenge_info/{task_address}/{task_id}": { "get": { - "summary": "Parameters queries the parameters of the module.", + "summary": "Query the challenge info by task address and task id.", "operationId": "QueryChallengeInfo", "responses": { "200": { @@ -21688,13 +21688,6 @@ "in": "path", "required": true, "type": "string" - }, - { - "name": "operator_address", - "description": "operator_address is the operator address,its type should be a sdk.AccAddress", - "in": "path", - "required": true, - "type": "string" } ], "tags": [ @@ -21704,7 +21697,7 @@ }, "/exocore/avs/v1/submit_task_result/{task_address}/{task_id}/{operator_address}": { "get": { - "summary": "Parameters queries the parameters of the module.", + "summary": "Submit task result for the specified task and operator.", "operationId": "QuerySubmitTaskResult", "responses": { "200": { diff --git a/proto/exocore/avs/v1/query.proto b/proto/exocore/avs/v1/query.proto index 56b27562b..d808a2579 100644 --- a/proto/exocore/avs/v1/query.proto +++ b/proto/exocore/avs/v1/query.proto @@ -56,8 +56,6 @@ message QueryChallengeInfoReq { string task_address = 1 [(gogoproto.customname) = "TaskAddress"]; // task_id is the task identifier string task_id = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // operator_address is the operator address,its type should be a sdk.AccAddress - string operator_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } // QuerySubmitTaskResultResponse is the response of avs related information @@ -92,6 +90,6 @@ service Query { } // Parameters queries the parameters of the module. rpc QueryChallengeInfo(QueryChallengeInfoReq) returns (QueryChallengeInfoResponse) { - option (google.api.http).get = "/exocore/avs/v1/challenge_info/{task_address}/{task_id}/{operator_address}"; + option (google.api.http).get = "/exocore/avs/v1/challenge_info/{task_address}/{task_id}"; } } diff --git a/x/avs/types/query.pb.go b/x/avs/types/query.pb.go index 6a3cc5712..23fff4c45 100644 --- a/x/avs/types/query.pb.go +++ b/x/avs/types/query.pb.go @@ -339,8 +339,6 @@ type QueryChallengeInfoReq struct { TaskAddress string `protobuf:"bytes,1,opt,name=task_address,json=taskAddress,proto3" json:"task_address,omitempty"` // task_id is the task identifier TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - // operator_address is the operator address,its type should be a sdk.AccAddress - OperatorAddress string `protobuf:"bytes,3,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` } func (m *QueryChallengeInfoReq) Reset() { *m = QueryChallengeInfoReq{} } @@ -390,13 +388,6 @@ func (m *QueryChallengeInfoReq) GetTaskId() string { return "" } -func (m *QueryChallengeInfoReq) GetOperatorAddress() string { - if m != nil { - return m.OperatorAddress - } - return "" -} - // QuerySubmitTaskResultResponse is the response of avs related information type QuerySubmitTaskResultResponse struct { // info is the taskResult. @@ -504,51 +495,51 @@ func init() { func init() { proto.RegisterFile("exocore/avs/v1/query.proto", fileDescriptor_fd804655b77429f2) } var fileDescriptor_fd804655b77429f2 = []byte{ - // 701 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xc1, 0x4f, 0x13, 0x4f, + // 697 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdf, 0x4e, 0x13, 0x4f, 0x14, 0x66, 0xf9, 0xfd, 0xc0, 0x38, 0x25, 0x80, 0x63, 0x0d, 0xeb, 0xaa, 0x0b, 0x59, 0x24, 0x21, - 0x12, 0x76, 0xa4, 0x24, 0xc6, 0xc4, 0xc4, 0x84, 0x56, 0x63, 0x6a, 0x0c, 0xd1, 0x5d, 0xc2, 0xc1, - 0x0b, 0x19, 0xda, 0x61, 0xd9, 0xb4, 0xec, 0x94, 0x9d, 0xe9, 0x02, 0x21, 0xbd, 0xf8, 0x17, 0x68, - 0xfc, 0x1f, 0x3c, 0x79, 0xf4, 0xe6, 0xd1, 0xc4, 0x70, 0x24, 0x7a, 0xf1, 0x44, 0x4c, 0xf1, 0x0f, - 0x31, 0x3b, 0x3b, 0x5b, 0xda, 0x71, 0x5b, 0xab, 0xf1, 0xb6, 0x33, 0xef, 0xbd, 0xef, 0x7d, 0xef, - 0xeb, 0xfb, 0xa6, 0xc0, 0x20, 0x87, 0xb4, 0x42, 0x43, 0x82, 0x70, 0xc4, 0x50, 0xb4, 0x82, 0xf6, - 0x9b, 0x24, 0x3c, 0xb2, 0x1b, 0x21, 0xe5, 0x14, 0x4e, 0xca, 0x98, 0x8d, 0x23, 0x66, 0x47, 0x2b, - 0xc6, 0xf5, 0x0a, 0x65, 0x7b, 0x94, 0x6d, 0x89, 0x28, 0x4a, 0x0e, 0x49, 0xaa, 0x31, 0xa3, 0xc0, - 0xf0, 0x43, 0x19, 0xc8, 0x7b, 0xd4, 0xa3, 0x49, 0x41, 0xfc, 0x25, 0x6f, 0x6f, 0x7a, 0x94, 0x7a, - 0x75, 0x82, 0x70, 0xc3, 0x47, 0x38, 0x08, 0x28, 0xc7, 0xdc, 0xa7, 0x81, 0x04, 0xb3, 0x8a, 0x60, - 0xea, 0x45, 0x4c, 0x63, 0x6d, 0xd3, 0x2d, 0x07, 0x3b, 0xd4, 0x21, 0xfb, 0x10, 0x81, 0x1c, 0x8e, - 0xd8, 0x16, 0xae, 0x56, 0x43, 0xc2, 0x98, 0xae, 0xcd, 0x69, 0x8b, 0x97, 0x8b, 0x93, 0xed, 0xb3, - 0x59, 0xb0, 0xb6, 0xe9, 0xae, 0x25, 0xb7, 0x0e, 0xc0, 0x11, 0x93, 0xdf, 0x56, 0x09, 0xe4, 0x7b, - 0x31, 0x58, 0x83, 0x06, 0x8c, 0xc0, 0x25, 0xf0, 0xbf, 0x1f, 0xec, 0x50, 0x81, 0x90, 0x2b, 0xcc, - 0xd8, 0xbd, 0x23, 0xda, 0x69, 0xba, 0x48, 0xb2, 0x56, 0xc1, 0x8d, 0x14, 0x44, 0xe2, 0x16, 0x8f, - 0x4a, 0xbb, 0xd8, 0x0f, 0xca, 0x8f, 0x62, 0x52, 0x79, 0x30, 0x56, 0x89, 0x4f, 0x09, 0x1d, 0x27, - 0x39, 0x58, 0x2e, 0x98, 0xeb, 0x5f, 0x24, 0x59, 0xfc, 0xf1, 0x38, 0x35, 0x70, 0x35, 0x05, 0xdd, - 0xc0, 0xac, 0x96, 0xca, 0xf2, 0x00, 0x4c, 0x70, 0xcc, 0x6a, 0x0a, 0x90, 0xfe, 0xe5, 0xc3, 0x72, - 0x5e, 0xfe, 0x3c, 0x12, 0xc0, 0xe5, 0xa1, 0x1f, 0x78, 0x4e, 0x2e, 0xce, 0x96, 0x57, 0x70, 0x06, - 0x5c, 0x12, 0xc5, 0x7e, 0x55, 0x1f, 0x15, 0x03, 0x8c, 0xc7, 0xc7, 0x72, 0xd5, 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49, 0xe6, 0xae, 0xc3, 0x07, 0x00, 0x00, + 0x12, 0x76, 0xa4, 0x24, 0xfe, 0x89, 0x89, 0x86, 0x56, 0x63, 0x7a, 0x43, 0x74, 0x97, 0x70, 0xe1, + 0x0d, 0x19, 0xda, 0x61, 0xd9, 0xb4, 0xec, 0x94, 0x9d, 0xe9, 0x02, 0x21, 0xf5, 0xc2, 0x27, 0xd0, + 0xf8, 0x0e, 0xc6, 0x0b, 0xef, 0xf4, 0x21, 0xb8, 0x24, 0x7a, 0xe3, 0x15, 0x31, 0xc5, 0x07, 0x31, + 0x3b, 0x3b, 0x5b, 0xda, 0x71, 0x5b, 0xab, 0x77, 0x7b, 0xe6, 0x9c, 0xf3, 0x9d, 0xef, 0x9c, 0xf9, + 0xce, 0x2c, 0x30, 0xc8, 0x21, 0xad, 0xd0, 0x90, 0x20, 0x1c, 0x31, 0x14, 0xad, 0xa0, 0xfd, 0x26, + 0x09, 0x8f, 0xec, 0x46, 0x48, 0x39, 0x85, 0x93, 0xd2, 0x67, 0xe3, 0x88, 0xd9, 0xd1, 0x8a, 0x71, + 0xbd, 0x42, 0xd9, 0x1e, 0x65, 0x5b, 0xc2, 0x8b, 0x12, 0x23, 0x09, 0x35, 0x66, 0x14, 0x18, 0x7e, + 0x28, 0x1d, 0x79, 0x8f, 0x7a, 0x34, 0x49, 0x88, 0xbf, 0xe4, 0xe9, 0x4d, 0x8f, 0x52, 0xaf, 0x4e, + 0x10, 0x6e, 0xf8, 0x08, 0x07, 0x01, 0xe5, 0x98, 0xfb, 0x34, 0x90, 0x60, 0x56, 0x11, 0x4c, 0xbd, + 0x8c, 0x69, 0xac, 0x6d, 0xba, 0xe5, 0x60, 0x87, 0x3a, 0x64, 0x1f, 0x22, 0x90, 0xc3, 0x11, 0xdb, + 0xc2, 0xd5, 0x6a, 0x48, 0x18, 0xd3, 0xb5, 0x39, 0x6d, 0xf1, 0x72, 0x71, 0xb2, 0x7d, 0x36, 0x0b, + 0xd6, 0x36, 0x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0xdf, + 0x0b, 0xb8, 0xae, 0xf2, 0x63, 0x22, 0x23, 0x19, 0x6f, 0x28, 0x72, 0xfa, 0x0e, 0x18, 0x1d, 0xab, + 0xab, 0xdd, 0x82, 0x1f, 0x35, 0x00, 0x7f, 0x97, 0x35, 0x5c, 0xc8, 0x64, 0xa7, 0xee, 0xb3, 0x71, + 0x67, 0x98, 0x30, 0xd9, 0xc1, 0x13, 0xd1, 0xc1, 0x43, 0x78, 0x5f, 0xed, 0xe0, 0x62, 0x6f, 0x06, + 0xca, 0xa3, 0xf8, 0xfc, 0xa4, 0x6d, 0x6a, 0xa7, 0x6d, 0x53, 0xfb, 0xd1, 0x36, 0xb5, 0xb7, 0xe7, + 0xe6, 0xc8, 0xe9, 0xb9, 0x39, 0xf2, 0xfd, 0xdc, 0x1c, 0x79, 0xb5, 0xec, 0xf9, 0x7c, 0xb7, 0xb9, + 0x6d, 0x57, 0xe8, 0x1e, 0x7a, 0x96, 0x80, 0xaf, 0x13, 0x7e, 0x40, 0xc3, 0x5a, 0xa7, 0xd6, 0xa1, + 0xa8, 0xc6, 0x8f, 0x1a, 0x84, 0x6d, 0x8f, 0x8b, 0x9f, 0xda, 0xea, 0xaf, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x41, 0xf9, 0xdb, 0xbd, 0x6a, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1011,13 +1002,6 @@ func (m *QueryChallengeInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintQuery(dAtA, i, uint64(len(m.OperatorAddress))) - i-- - dAtA[i] = 0x1a - } if len(m.TaskId) > 0 { i -= len(m.TaskId) copy(dAtA[i:], m.TaskId) @@ -1215,10 +1199,6 @@ func (m *QueryChallengeInfoReq) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - l = len(m.OperatorAddress) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } return n } @@ -1939,38 +1919,6 @@ func (m *QueryChallengeInfoReq) Unmarshal(dAtA []byte) error { } m.TaskId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - 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 ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) diff --git a/x/avs/types/query.pb.gw.go b/x/avs/types/query.pb.gw.go index 49662d8e9..78405471b 100644 --- a/x/avs/types/query.pb.gw.go +++ b/x/avs/types/query.pb.gw.go @@ -330,17 +330,6 @@ func request_Query_QueryChallengeInfo_0(ctx context.Context, marshaler runtime.M return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_id", err) } - val, ok = pathParams["operator_address"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_address") - } - - protoReq.OperatorAddress, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_address", err) - } - msg, err := client.QueryChallengeInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err @@ -379,17 +368,6 @@ func local_request_Query_QueryChallengeInfo_0(ctx context.Context, marshaler run return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_id", err) } - val, ok = pathParams["operator_address"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_address") - } - - protoReq.OperatorAddress, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_address", err) - } - msg, err := server.QueryChallengeInfo(ctx, &protoReq) return msg, metadata, err @@ -669,7 +647,7 @@ var ( pattern_Query_QuerySubmitTaskResult_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"exocore", "avs", "v1", "submit_task_result", "task_address", "task_id", "operator_address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_QueryChallengeInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"exocore", "avs", "v1", "challenge_info", "task_address", "task_id", "operator_address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_QueryChallengeInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"exocore", "avs", "v1", "challenge_info", "task_address", "task_id"}, "", runtime.AssumeColonVerbOpt(false))) ) var (