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

Do not generate well-known protobuf types #1189

Merged
merged 3 commits into from
Sep 7, 2022

Conversation

mzabaluev
Copy link
Contributor

@mzabaluev mzabaluev commented Sep 4, 2022

Resolves: #1188

The only WKTs needed by tendermint-proto or its clients at the moment are Timestamp and Duration. These are currently replaced by hand-written alternatives, so the rest of the well-known types do not need to be generated.

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Added entry in .changelog/

The only WKTs needed by tendermint-proto or its clients at the moment
are Timestamp and Duration. These are currently replaced by hand-written
alternatives, so the rest of the well-known types do not need to be
generated.
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@9b9ed44). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main   #1189   +/-   ##
======================================
  Coverage        ?   67.5%           
======================================
  Files           ?     214           
  Lines           ?   20480           
  Branches        ?       0           
======================================
  Hits            ?   13830           
  Misses          ?    6650           
  Partials        ?       0           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mzabaluev mzabaluev marked this pull request as ready for review September 5, 2022 09:05
Signed-off-by: Thane Thomson <connect@thanethomson.com>
@thanethomson thanethomson merged commit 2f2e868 into main Sep 7, 2022
@thanethomson thanethomson deleted the mikhail/no-generated-wkts-in-proto branch September 7, 2022 00:58
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.

Protobuf well-known types unnecessarily generated
3 participants