Skip to content
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

chore: fix protocgen.sh wrt buf's latest version #16

Closed
wants to merge 1 commit into from

Conversation

SebastianElvis
Copy link
Member

The protocgen.sh script uses buf protoc subcommand. This subcommand has been removed and replaced by buf alpha protoc in v1.0.0 (2022-02-17), as per https://github.com/bufbuild/buf/blob/main/CHANGELOG.md#v100---2022-02-17 and bufbuild/buf#915.

@SebastianElvis SebastianElvis requested a review from vitsalis June 16, 2022 07:00
Copy link
Member

@vitsalis vitsalis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running make proto-gen based on this change leads to the following error:

>>> make proto-gen
Generating Protobuf files
Error: unknown command "alpha" for "buf"
Run 'buf --help' for usage.
unknown command "alpha" for "buf"
make: *** [proto-gen] Error 1

A thing to consider is that this script is run inside a Docker container built on the tendermintdev/sdk-proto-gen image that is maintained by Tendermint (see Makefile).

@SebastianElvis
Copy link
Member Author

I see, closed this PR then.

@SebastianElvis SebastianElvis deleted the protocgen-buf-fix branch December 8, 2022 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants