-
Notifications
You must be signed in to change notification settings - Fork 33
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 types.proto & types_pb2.py for latest tendermint (0.15) #9
Comments
Subscribing here to see if there's any progress on your side. We have trouble porting jABCI to 0.15+ tendermint because of those new gogoproto types. |
So if I'm understanding correctly, this is a fundamental problem with the latest types.proto file in tendermint? |
Well, since I am not very knowledgeable with protobuf I wish to be careful to make conclusions, but it most certainly complicates things. I am currently testing the simple approach of removing the annotations, and will report as soon as possible. |
At first glance, it looks like you need to add gogo protobuf to your build chain to properly compile it for Python bindings - but this is a very quick assessment. Here's an example: https://github.com/bblfsh/client-python/blob/master/setup.py#L86 |
Oh, interesting. I have tried using gogoprotobuf, following https://github.com/gogo/protobuf#more-speed-and-more-generated-code but ran into the import problem, reported in cockroachdb/cockroach#393:
I could try the approach used in the link you provided. In the meantime, the approach of removing the annotation yields positive results, but as pointed out by @srmo it does not mean that there cannot be unnoticed negative side effects. |
I'm currently trying out a more streamlined rebuild with ideas from the links you gave, @sbellem. |
@davebryson just made a PR to show the naive approach of removing the annotations. You can consult the description of the PR for additional details. I will resume work on this issue tomorrow. I am ok with helping resolving the issue, so please let me know if you prefer to tackle it yourself, or how I can help. |
@sbellem Yes unfortunately I'm currently knee deep in Go programming on Ethereum. So any help you can provide is greatly appreciated! |
@davebryson ah ok, that's fine! Thanks for letting me know! So I'll take care of the issue then. Will keep you informed via this issue and PR #11 as progress is made.. |
@davebryson see PR #14 😄 |
Should be resolved with the latest merges thanks to @sbellem. Leaving open for now until we test more. |
Closing for now. See abci-0.10.0 branch |
The go abci
types.proto
has changed and the current py-abci does not work with the Tendermint 0.15.Will add more details and steps to reproduce the problem soon.
Also related: bigchaindb/bigchaindb#2005 (comment)
In the meantime, this issue seems related: tendermint/abci#179
Related: code types (
enum CodeType
) were removed: tendermint/abci@42a8e32#diff-f325a92d451852ea8923aaa3a50731beThe text was updated successfully, but these errors were encountered: