File tree 3 files changed +37
-1
lines changed
protos/eigenlayer/sidecar/v1/backfiller
3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ module github.com/Layr-Labs/protocol-apis
3
3
go 1.23.6
4
4
5
5
require (
6
+ github.com/Layr-Labs/protobuf-libs v0.0.0-20250305032038-8d1047b56aab
6
7
github.com/akuity/grpc-gateway-client v0.0.0-20240912082144-55a48e8b4b89
7
8
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2
8
9
google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9
@@ -11,7 +12,6 @@ require (
11
12
)
12
13
13
14
require (
14
- github.com/Layr-Labs/protobuf-libs v0.0.0-20250305032038-8d1047b56aab // indirect
15
15
github.com/alevinval/sse v1.0.1 // indirect
16
16
github.com/go-resty/resty/v2 v2.7.0 // indirect
17
17
github.com/golang/protobuf v1.5.3 // indirect
Original file line number Diff line number Diff line change
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 number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments