Skip to content

Commit d957b25

Browse files
committedMar 17, 2025·
backfill
1 parent e6827bb commit d957b25

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed
 

‎go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module github.com/Layr-Labs/protocol-apis
33
go 1.23.6
44

55
require (
6+
github.com/Layr-Labs/protobuf-libs v0.0.0-20250305032038-8d1047b56aab
67
github.com/akuity/grpc-gateway-client v0.0.0-20240912082144-55a48e8b4b89
78
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2
89
google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9
@@ -11,7 +12,6 @@ require (
1112
)
1213

1314
require (
14-
github.com/Layr-Labs/protobuf-libs v0.0.0-20250305032038-8d1047b56aab // indirect
1515
github.com/alevinval/sse v1.0.1 // indirect
1616
github.com/go-resty/resty/v2 v2.7.0 // indirect
1717
github.com/golang/protobuf v1.5.3 // indirect
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
syntax = "proto3";
2+
3+
package eigenlayer.sidecar.v1.backfiller;
4+
5+
option go_package = "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/backfiller";
6+
7+
import "google/api/annotations.proto";
8+
import "eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto";
9+
10+
message BackfillRequest {
11+
uint64 start_block = 1;
12+
uint64 end_block = 2;
13+
repeated string addresses = 3;
14+
}
15+
16+
message BackfillResponse {
17+
bool success = 1;
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
syntax = "proto3";
2+
3+
package eigenlayer.sidecar.v1.backfiller;
4+
5+
option go_package = "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/backfiller";
6+
7+
import "google/api/annotations.proto";
8+
import "eigenlayer/sidecar/v1/backfiller/backfiller.proto";
9+
10+
service Backfiller {
11+
// BackfillBlocks initiates a backfill operation for a range of blocks
12+
rpc BackfillBlocks(BackfillRequest) returns (BackfillResponse) {
13+
option (google.api.http) = {
14+
post: "/backfiller/v1/backfill-blocks"
15+
body: "*"
16+
};
17+
}
18+
}

0 commit comments

Comments
 (0)
Please sign in to comment.