Skip to content

Commit 3dc30af

Browse files
committed
fix module references
1 parent 83d75f4 commit 3dc30af

File tree

22 files changed

+323
-451
lines changed

22 files changed

+323
-451
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
.idea
22
.DS_Store
3-
*.sw*
43
node_modules
54
!gen
65
/buf-plugin-openapi/bin
76
/openapi-debug.log
7+
/submodules
8+
!/submodules/README.md

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "protos/protobuf-libs"]
2+
path = protos/protobuf-libs
3+
url = https://github.com/Layr-Labs/protobuf-libs.git
4+
[submodule "submodules/protobuf-libs"]
5+
path = submodules/protobuf-libs
6+
url = https://github.com/Layr-Labs/protobuf-libs.git

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ deps/go:
2121
npm install
2222

2323
pre-build:
24-
cd protocol-apis-annotations && make proto
24+
git submodule update --init --recursive
2525
cd buf-plugin-openapi && make install
2626

2727
.PHONY: proto

buf-plugin-openapi/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ module github.com/Layr-Labs/buf-plugin-openapi
33
go 1.23.6
44

55
require (
6-
github.com/Layr-Labs/protocol-apis-annotations v0.0.0-00010101000000-000000000000
76
google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80
87
google.golang.org/protobuf v1.36.5
98
)
109

11-
require google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect
12-
13-
replace github.com/Layr-Labs/protocol-apis-annotations => ../protocol-apis-annotations
10+
require (
11+
github.com/Layr-Labs/protobuf-libs v0.0.0-20250305032038-8d1047b56aab // indirect
12+
google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect
13+
)

buf-plugin-openapi/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
github.com/Layr-Labs/protobuf-libs v0.0.0-20250305032038-8d1047b56aab h1:O3mHv0TxACM+575aVjPRwPOd7Ygf4CAmZmNWs/2zjaA=
2+
github.com/Layr-Labs/protobuf-libs v0.0.0-20250305032038-8d1047b56aab/go.mod h1:xc4NKuzjHpf6Xr9EnI7r6Uc99B1it1bkzQH6kJvhtW4=
13
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
24
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
35
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=

buf-plugin-openapi/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
"unicode"
1010

11-
openapiAnnotations "github.com/Layr-Labs/protocol-apis-annotations/protos/annotations"
11+
openapiAnnotations "github.com/Layr-Labs/protobuf-libs/protos/eigenlayer/lib/annotations"
1212
"google.golang.org/genproto/googleapis/api/annotations"
1313
"google.golang.org/protobuf/compiler/protogen"
1414
"google.golang.org/protobuf/proto"

buf.work.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version: v1
22
directories:
3-
- protocol-apis-annotations/protos
3+
- submodules/protobuf-libs/protos
44
- protos

gen/protos/eigenlayer/sidecar/v1/health/rpc.pb.go

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

0 commit comments

Comments
 (0)