Skip to content

Commit 88963ce

Browse files
authored
chore: Bump grpc deps (ava-labs#1401)
1 parent 2812cbc commit 88963ce

File tree

19 files changed

+165
-33
lines changed

19 files changed

+165
-33
lines changed

.github/workflows/buf-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- uses: bufbuild/buf-setup-action@v1.3.1
14+
- uses: bufbuild/buf-setup-action@v1.4.0
1515
- uses: bufbuild/buf-lint-action@v1
1616
with:
1717
input: "proto"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@ To regenerate the protobuf go code, run `scripts/protobuf_codegen.sh` from the r
156156

157157
This should only be necessary when upgrading protobuf versions or modifying .proto definition files.
158158

159-
To use this script, you must have [buf](https://docs.buf.build/installation) (v1.0.0-rc12), protoc-gen-go (v1.27.1) and protoc-gen-go-grpc (v1.2.0) installed.
159+
To use this script, you must have [buf](https://docs.buf.build/installation) (v1.4.0), protoc-gen-go (v1.28.0) and protoc-gen-go-grpc (v1.2.0) installed.
160160

161161
To install the buf dependencies:
162162

163163
```sh
164-
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.27.1
164+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.0
165165
go install google.golang.org/grpc/cmd/[email protected]
166166
```
167167

go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ require (
3535
github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d
3636
github.com/onsi/ginkgo/v2 v2.1.0
3737
github.com/onsi/gomega v1.17.0
38-
github.com/prometheus/client_golang v1.11.0
38+
github.com/prometheus/client_golang v1.12.1
3939
github.com/prometheus/client_model v0.2.0
4040
github.com/rs/cors v1.7.0
4141
github.com/spaolacci/murmur3 v1.1.0
@@ -49,8 +49,8 @@ require (
4949
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
5050
gonum.org/v1/gonum v0.9.1
5151
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa
52-
google.golang.org/grpc v1.43.0
53-
google.golang.org/protobuf v1.27.1
52+
google.golang.org/grpc v1.45.0
53+
google.golang.org/protobuf v1.28.0
5454
gotest.tools v2.2.0+incompatible
5555
)
5656

@@ -92,8 +92,8 @@ require (
9292
github.com/pelletier/go-toml v1.9.4 // indirect
9393
github.com/pkg/errors v0.9.1 // indirect
9494
github.com/pmezard/go-difflib v1.0.0 // indirect
95-
github.com/prometheus/common v0.26.0 // indirect
96-
github.com/prometheus/procfs v0.6.0 // indirect
95+
github.com/prometheus/common v0.32.1 // indirect
96+
github.com/prometheus/procfs v0.7.3 // indirect
9797
github.com/rjeczalik/notify v0.9.2 // indirect
9898
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
9999
github.com/spf13/afero v1.6.0 // indirect

go.sum

+140-8
Large diffs are not rendered by default.

proto/Dockerfile.buf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bufbuild/buf:1.3.1 AS builder
1+
FROM bufbuild/buf:1.4.0 AS builder
22

33
FROM ubuntu:20.04
44

@@ -16,7 +16,7 @@ COPY --from=builder /usr/local/bin/buf /usr/local/bin/
1616

1717
# any version changes here should also be bumped in scripts/protobuf_codegen.sh
1818
RUN \
19-
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.27.1 && \
19+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.0 && \
2020
go install google.golang.org/grpc/cmd/[email protected]
2121

2222
ENV PATH="${PATH}:/root/go/bin/"

proto/pb/aliasreader/aliasreader.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/appsender/appsender.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/http/http.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/http/responsewriter/responsewriter.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/io/reader/reader.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/io/writer/writer.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/keystore/keystore.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/messenger/messenger.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/net/conn/conn.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/plugin/plugin.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/rpcdb/rpcdb.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/sharedmemory/sharedmemory.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/pb/subnetlookup/subnetlookup.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/protobuf_codegen.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

33
# any version changes here should also be bumped in Dockerfile.buf
4-
BUF_VERSION='1.3.1'
5-
PROTOC_GEN_GO_VERSION='v1.27.1'
4+
BUF_VERSION='1.4.0'
5+
PROTOC_GEN_GO_VERSION='v1.28.0'
66
PROTOC_GEN_GO_GRPC_VERSION='1.2.0'
77

88
# buf is required see:https://docs.buf.build/installation

0 commit comments

Comments
 (0)