Skip to content

Commit 5b3cadc

Browse files
committed
feat: re-add metadata field for performer task
1 parent 4580393 commit 5b3cadc

File tree

5 files changed

+72
-52
lines changed

5 files changed

+72
-52
lines changed

gen/api-ts/eigenlayer/hourglass/v1/performer/performer.pb.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export type StartSyncResponse = {
2828
export type TaskRequest = {
2929
taskId?: Uint8Array
3030
payload?: Uint8Array
31+
metadata?: Uint8Array
3132
}
3233

3334
export type TaskResponse = {

gen/openapi/api.public.swagger.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2963,6 +2963,10 @@
29632963
"TaskRequest": {
29642964
"type": "object",
29652965
"properties": {
2966+
"metadata": {
2967+
"type": "string",
2968+
"format": "byte"
2969+
},
29662970
"payload": {
29672971
"type": "string",
29682972
"format": "byte"

gen/openapi/api.swagger.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4016,6 +4016,10 @@
40164016
"TaskRequest": {
40174017
"type": "object",
40184018
"properties": {
4019+
"metadata": {
4020+
"type": "string",
4021+
"format": "byte"
4022+
},
40194023
"payload": {
40204024
"type": "string",
40214025
"format": "byte"

gen/protos/eigenlayer/hourglass/v1/performer/performer.pb.go

Lines changed: 61 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/eigenlayer/hourglass/v1/performer/performer.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ message StartSyncResponse {}
2424
message TaskRequest {
2525
bytes task_id = 1;
2626
bytes payload = 2;
27+
bytes metadata = 3;
2728
}
2829

2930
message TaskResponse {
@@ -35,4 +36,4 @@ service PerformerService {
3536
rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse) {}
3637
rpc StartSync(StartSyncRequest) returns (StartSyncResponse) {}
3738
rpc ExecuteTask(TaskRequest) returns (TaskResponse) {}
38-
}
39+
}

0 commit comments

Comments
 (0)