-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix: revert proto changes from #12610 #12670
Conversation
…ita/revert-12610-proto-breaking-changes
…ita/revert-12610-proto-breaking-changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Just a general question, (for @AmauryM ?) -> when do we actually change the protobuf and upgrade its version? |
…/github.com/cosmos/cosmos-sdk into likhita/revert-12610-proto-breaking-changes
…ita/revert-12610-proto-breaking-changes
Still not the right "Amaury" ^^' |
Whenever a change is "proto-breaking", we need to bump the version. The definition of "proto-breaking" is in ADR044, which is basically what buf's linting guide recommends. BTW I just re-read it, and made some small tweaks #12683. Generally when the "Protobuf / break-check" is red, it's a sign that some proto pkg should be bumped. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Codecov Report
@@ Coverage Diff @@
## main #12670 +/- ##
==========================================
+ Coverage 65.33% 65.39% +0.06%
==========================================
Files 689 693 +4
Lines 70680 70965 +285
==========================================
+ Hits 46178 46407 +229
- Misses 21944 21993 +49
- Partials 2558 2565 +7
|
This happens all the time though, e.g. a new field. That doesn't mean it's breaking AFAIU. |
Also, what's the plan here WRT to the actual desired change (#12601)...are we just not doing it? |
## Description ref: #12670 (comment) --- ### Author Checklist *All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.* I have... - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] added `!` to the type prefix if API or client breaking change - [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting)) - [ ] provided a link to the relevant issue or specification - [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules) - [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing) - [ ] added a changelog entry to `CHANGELOG.md` - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc) - [ ] updated the relevant documentation or specification - [ ] reviewed "Files changed" and left comments if necessary - [ ] confirmed all CI checks have passed ### Reviewers Checklist *All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.* I have... - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] confirmed `!` in the type prefix if API or client breaking change - [ ] confirmed all author checklist items have been addressed - [ ] reviewed state machine logic - [ ] reviewed API design and naming - [ ] reviewed documentation is accurate - [ ] reviewed tests and test coverage - [ ] manually tested (if applicable)
I see. IMO keeping the proto fields unchanged, i.e. it remaining cc @AmauryM |
Yes that's fine too. Let's make sure to make it as backwards-compatible as possible. |
Description
ref:#12610 (comment)
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change