Skip to content

Commit f356524

Browse files
committed
Downgrading protoc-gen-go-grpc to v1.4.0
This is necessary to avoid Fabric testnet failures during installation of the interop-cc. Signed-off-by: VRamakrishna <[email protected]>
1 parent faa8e90 commit f356524

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

.github/workflows/test_asset-exchange-fabric.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/protoc-3.15.6-linux-x86_64.zip
124124
unzip protoc-3.15.6-linux-x86_64.zip -d protoc
125125
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
126-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
126+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
127127
128128
# PROTOS
129129
- name: Build JS Protos

.github/workflows/test_asset-transfer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ jobs:
454454
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/protoc-3.15.6-linux-x86_64.zip
455455
unzip protoc-3.15.6-linux-x86_64.zip -d protoc
456456
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
457-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
457+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
458458
459459
# PROTOS
460460
- name: Build GO Protos

.github/workflows/test_data-sharing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ jobs:
368368
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/protoc-3.15.6-linux-x86_64.zip
369369
unzip protoc-3.15.6-linux-x86_64.zip -d protoc
370370
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
371-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
371+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
372372
373373
# PROTOS
374374
- name: Build GO Protos
@@ -747,7 +747,7 @@ jobs:
747747
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/protoc-3.15.6-linux-x86_64.zip
748748
unzip protoc-3.15.6-linux-x86_64.zip -d protoc
749749
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
750-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
750+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
751751
752752
# PROTOS
753753
- name: Build GO Protos

docs/docs/external/getting-started/test-network/setup-local-docker.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Before starting, make sure you have the following software installed on your hos
3636
```
3737
apt-get install protobuf-compiler
3838
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
39-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
39+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
4040
```
4141
* If the above method installs an older version of `protoc` (check using `protoc --version`), say below 3.12.x, you should download pre-compiled binaries instead. (With an older version, you may see errors while attempting to launch and setup the Fabric networks).
4242
```
@@ -46,12 +46,13 @@ Before starting, make sure you have the following software installed on your hos
4646
unzip protoc-3.15.6-linux-x86_64.zip -d <some-folder-path>
4747
export PATH="$PATH:<some-folder-path>/bin"
4848
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
49-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
49+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
5050
```
5151
5252
| Notes |
5353
|:------|
54-
| The latest version at present is `3.15.6`, but you should check the above link to find the most current version before running the above steps. |
54+
| The last version we tested with was `3.15.6`, but you should check the above link to find the most current version before running the above steps. |
55+
| The latest version of `protoc-gen-go-grpc` that works with the Fabric test networks we will run below is `v1.4.0`, which is why that version is hardcoded here. |
5556
5657
### Credentials
5758
Make sure you have an SSH or GPG key registered in https://github.com to allow seamless cloning of repositories (at present, various setup scripts clone repositories using the `https://` prefix but this may change to `git@` in the future).

docs/docs/external/getting-started/test-network/setup-local.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Before starting, make sure you have the following software installed on your hos
3838
```
3939
apt-get install protobuf-compiler
4040
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
41-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
41+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
4242
```
4343
* If the above method installs an older version of `protoc` (check using `protoc --version`), say below 3.12.x, you should download pre-compiled binaries instead. (With an older version, you may see errors while attempting to launch and setup the Fabric networks).
4444
```
@@ -48,12 +48,13 @@ Before starting, make sure you have the following software installed on your hos
4848
unzip protoc-3.15.6-linux-x86_64.zip -d <some-folder-path>
4949
export PATH="$PATH:<some-folder-path>/bin"
5050
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
51-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
51+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
5252
```
5353
5454
| Notes |
5555
|:------|
56-
| The latest version at present is `3.15.6`, but you should check the above link to find the most current version before running the above steps. |
56+
| The last version we tested with was `3.15.6`, but you should check the above link to find the most current version before running the above steps. |
57+
| The latest version of `protoc-gen-go-grpc` that works with the Fabric test networks we will run below is `v1.4.0`, which is why that version is hardcoded here. |
5758
5859
### Credentials
5960
Make sure you have an SSH or GPG key registered in https://github.com to allow seamless cloning of repositories (at present, various setup scripts clone repositories using the `https://` prefix but this may change to `git@` in the future).

0 commit comments

Comments
 (0)