Skip to content

Commit 518003e

Browse files
p0mvnRoman Akhtarievjulienrbrt
authored
fix(build): proto generation (#13166)
* fix(build): proto generation * restore proto ver * Update proto/buf.lock Co-authored-by: Julien Robert <julien@rbrt.fr> * bimp proto ver * fix internal client Co-authored-by: Roman Akhtariev <roman@akhtariev.localdomain> Co-authored-by: Julien Robert <julien@rbrt.fr>
1 parent f9e8a04 commit 518003e

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SIMAPP = ./simapp
1212
MOCKS_DIR = $(CURDIR)/tests/mocks
1313
HTTPS_GIT := https://github.com/cosmos/cosmos-sdk.git
1414
DOCKER := $(shell which docker)
15-
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf:1.0.0-rc8
15+
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf:1.7.0
1616
PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git)
1717
DOCS_DOMAIN=docs.cosmos.network
1818
# RocksDB is a native dependency, so we don't assume the library is installed.
@@ -389,7 +389,7 @@ devdoc-update:
389389
### Protobuf ###
390390
###############################################################################
391391

392-
protoVer=v0.7
392+
protoVer=v0.8
393393
protoImageName=tendermintdev/sdk-proto-gen:$(protoVer)
394394
containerProtoGen=$(PROJECT_NAME)-proto-gen-$(protoVer)
395395
containerProtoGenAny=$(PROJECT_NAME)-proto-gen-any-$(protoVer)

client/v2/internal/buf.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ deps:
2020
owner: googleapis
2121
repository: googleapis
2222
branch: main
23-
commit: 40f07f5b563941f2b20b991a7aedd53d
23+
commit: 62f35d8aed1149c291d606d958a7ce32

contrib/devtools/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# docker build --pull --rm -f "contrib/devtools/Dockerfile" -t cosmossdk-proto:latest "contrib/devtools"
33
# docker run --rm -v $(pwd):/workspace --workdir /workspace cosmossdk-proto sh ./scripts/protocgen.sh
44

5-
FROM bufbuild/buf:1.1.0 as BUILDER
5+
FROM bufbuild/buf:1.7.0 as BUILDER
66

77
FROM golang:1.19-alpine
88

proto/buf.lock

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,12 @@ deps:
44
- remote: buf.build
55
owner: cosmos
66
repository: cosmos-proto
7-
branch: main
87
commit: 1935555c206d4afb9e94615dfd0fad31
9-
digest: b1-TNqW6xj2Pjha5Uoj9a-5uOeRo4mwswKfyqMcN3I_gZ0=
10-
create_time: 2021-12-02T22:04:00.31049Z
118
- remote: buf.build
129
owner: cosmos
1310
repository: gogo-proto
14-
branch: main
1511
commit: bee5511075b7499da6178d9e4aaa628b
16-
digest: b1-rrBIustouD-S80cVoZ_rM0qJsmei9AgbXy9GPQu6vxg=
17-
create_time: 2021-12-02T20:01:17.069307Z
1812
- remote: buf.build
1913
owner: googleapis
2014
repository: googleapis
21-
branch: main
22-
commit: 40f07f5b563941f2b20b991a7aedd53d
23-
digest: b1-Iv8fTR4AKXwNW80Ey6K5tY8cP053y_95sB5fro9IWZo=
24-
create_time: 2021-12-02T15:07:41.896892Z
15+
commit: 62f35d8aed1149c291d606d958a7ce32

0 commit comments

Comments
 (0)