-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update gRPC version to the latest one and keep it compatible with Tendermint | gogoproto #8392
Comments
For anyone debugging this, something happened between grpc v1.33.2 and v1.34.0, ref: #8162. |
As an intermediate step we should update documentation to add the replace line in |
@AmauryM was checking it and he says it's not possible to upgrade gRPC go proto for the compatibility with latest gogoproto. I don't know what's failing in gRPC. But, maybe we can do a small patch there? |
I'm not sure even that gRPC-go will accept that patch.
other people having the same issue: grpc/grpc-go#4192. TLDR: imo the correct way to solve this issue is to switch to go protobuf v2: #7488. I'm proposing to close this issue once the docs #8658 are merged. |
Thanks for checking it. |
My view is that there's no rush to update to the latest version of grpc-go for now: no security issue, and everything works fine in the SDK. It's ultimately a tradeoff between:
My current understanding is that v2 is maybe going to take 2-3mo, while maintaining our fork is hard (debugging encoding issues is not fun) and burdensome (we already fork gogoproto, do we might also need to fork grpc-go). With these estimations, the status quo seems the best solution. Happy to hear other thoughts. |
We've been discussing this on our Regen internal call today, closing this issue as docs have been merged from #8658. The larger follow-up will be taken care of with the custom codegenerator work we've been planning. |
Summary
In the 0.40.1 release, we encountered a problem with google.golang.org/grpc:
So, the dependency resolver uses v1.35.0 for both. Unfortunately this breaks SDK.
Proposal
Update gRPC to the latest version and fix the problem
Reference:
For Admin Use
The text was updated successfully, but these errors were encountered: