From 2cdab5872b71b1e191caf3e5b4906f3113b5981a Mon Sep 17 00:00:00 2001 From: devin Date: Wed, 19 Feb 2025 15:28:27 +0800 Subject: [PATCH] fix ci err --- client/docs/swagger-ui/swagger.json | 10 +++++----- proto/exocore/avs/v1/query.proto | 10 +++++----- x/avs/types/query.pb.go | 20 ++++++++++---------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/client/docs/swagger-ui/swagger.json b/client/docs/swagger-ui/swagger.json index 5aba0b404..8bd12cad3 100644 --- a/client/docs/swagger-ui/swagger.json +++ b/client/docs/swagger-ui/swagger.json @@ -21247,7 +21247,7 @@ }, "/exocore/avs/v1/avs_info": { "get": { - "summary": "Query avs info by avs address.", + "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": true, + "required": false, "type": "string" } ], @@ -21434,7 +21434,7 @@ }, "/exocore/avs/v1/avs_task_info/{task_address}/{task_id}": { "get": { - "summary": "TaskInfo queries the task information.", + "summary": "Query the task info by task address and task id.", "operationId": "QueryAVSTaskInfo", "responses": { "200": { @@ -21624,7 +21624,7 @@ }, "/exocore/avs/v1/challenge_info/{task_address}/{task_id}": { "get": { - "summary": "Query the challenge info by task address and task id.", + "summary": "Query the challenge info by task address and task id", "operationId": "QueryChallengeInfo", "responses": { "200": { @@ -21697,7 +21697,7 @@ }, "/exocore/avs/v1/submit_task_result/{task_address}/{task_id}/{operator_address}": { "get": { - "summary": "Submit task result for the specified task and operator.", + "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 d808a2579..d9e1dfd37 100644 --- a/proto/exocore/avs/v1/query.proto +++ b/proto/exocore/avs/v1/query.proto @@ -72,23 +72,23 @@ message QueryChallengeInfoResponse { // Query defines the gRPC querier service. service Query { - // Parameters queries the parameters of the module. + // Query avs info by avs address rpc QueryAVSInfo(QueryAVSInfoReq) returns (QueryAVSInfoResponse) { option (google.api.http).get = "/exocore/avs/v1/avs_info"; } - // TaskInfo queries the task information. + // Query the task info by task address and task id. rpc QueryAVSTaskInfo(QueryAVSTaskInfoReq) returns (TaskInfo) { option (google.api.http).get = "/exocore/avs/v1/avs_task_info/{task_address}/{task_id}"; } - // QueryAVSAddressByChainID queries the avs address by chain id + // Query the avs address by chain id rpc QueryAVSAddressByChainID(QueryAVSAddressByChainIDReq) returns (QueryAVSAddressByChainIDResponse) { option (google.api.http).get = "/exocore/avs/v1/avs_address/{chain}"; } - // Parameters queries the parameters of the module. + // Submit task result for the specified task and operator rpc QuerySubmitTaskResult(QuerySubmitTaskResultReq) returns (QuerySubmitTaskResultResponse) { option (google.api.http).get = "/exocore/avs/v1/submit_task_result/{task_address}/{task_id}/{operator_address}"; } - // Parameters queries the parameters of the module. + // Query the challenge info by task address and task id rpc QueryChallengeInfo(QueryChallengeInfoReq) returns (QueryChallengeInfoResponse) { 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 23fff4c45..ec51493aa 100644 --- a/x/avs/types/query.pb.go +++ b/x/avs/types/query.pb.go @@ -554,15 +554,15 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Parameters queries the parameters of the module. + // Query avs info by avs address QueryAVSInfo(ctx context.Context, in *QueryAVSInfoReq, opts ...grpc.CallOption) (*QueryAVSInfoResponse, error) - // TaskInfo queries the task information. + // Query the task info by task address and task id. QueryAVSTaskInfo(ctx context.Context, in *QueryAVSTaskInfoReq, opts ...grpc.CallOption) (*TaskInfo, error) - // QueryAVSAddressByChainID queries the avs address by chain id + // Query the avs address by chain id QueryAVSAddressByChainID(ctx context.Context, in *QueryAVSAddressByChainIDReq, opts ...grpc.CallOption) (*QueryAVSAddressByChainIDResponse, error) - // Parameters queries the parameters of the module. + // Submit task result for the specified task and operator QuerySubmitTaskResult(ctx context.Context, in *QuerySubmitTaskResultReq, opts ...grpc.CallOption) (*QuerySubmitTaskResultResponse, error) - // Parameters queries the parameters of the module. + // Query the challenge info by task address and task id QueryChallengeInfo(ctx context.Context, in *QueryChallengeInfoReq, opts ...grpc.CallOption) (*QueryChallengeInfoResponse, error) } @@ -621,15 +621,15 @@ func (c *queryClient) QueryChallengeInfo(ctx context.Context, in *QueryChallenge // QueryServer is the server API for Query service. type QueryServer interface { - // Parameters queries the parameters of the module. + // Query avs info by avs address QueryAVSInfo(context.Context, *QueryAVSInfoReq) (*QueryAVSInfoResponse, error) - // TaskInfo queries the task information. + // Query the task info by task address and task id. QueryAVSTaskInfo(context.Context, *QueryAVSTaskInfoReq) (*TaskInfo, error) - // QueryAVSAddressByChainID queries the avs address by chain id + // Query the avs address by chain id QueryAVSAddressByChainID(context.Context, *QueryAVSAddressByChainIDReq) (*QueryAVSAddressByChainIDResponse, error) - // Parameters queries the parameters of the module. + // Submit task result for the specified task and operator QuerySubmitTaskResult(context.Context, *QuerySubmitTaskResultReq) (*QuerySubmitTaskResultResponse, error) - // Parameters queries the parameters of the module. + // Query the challenge info by task address and task id QueryChallengeInfo(context.Context, *QueryChallengeInfoReq) (*QueryChallengeInfoResponse, error) }