-
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
refactor: Improve and clarify API around AccountAddressById
#13460
Conversation
AccountAddressById
AccountAddressById
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
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Julien Robert <julien@rbrt.fr>
No clue what is happening with CI. We had the same error for the Sims. Retrying fixes it. |
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
* (types) [13430](https://github.com/cosmos/cosmos-sdk/pull/13430) Remove unused code `ResponseCheckTx` and `ResponseDeliverTx` | ||
* (x/gov) [#13160](https://github.com/cosmos/cosmos-sdk/pull/13160) Remove custom marshaling of proposl and voteoption. | ||
* (types) [#13430](https://github.com/cosmos/cosmos-sdk/pull/13430) Remove unused code `ResponseCheckTx` and `ResponseDeliverTx` | ||
* (auth) [#13460](https://github.com/cosmos/cosmos-sdk/pull/13460) The `q auth address-by-id` CLI command has been renamed to `q auth address-by-acc-num` to be more explicit. However, the old `address-by-id` version is still kept as an alias, for backwards compatibility. |
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.
shouldn't this go under CLI 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.
I actually kept address-by-id
as a CLI command alias, for backwards compat
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #13460 +/- ##
==========================================
- Coverage 53.89% 53.87% -0.03%
==========================================
Files 657 641 -16
Lines 56650 55031 -1619
==========================================
- Hits 30533 29647 -886
+ Misses 23679 23001 -678
+ Partials 2438 2383 -55
|
* Revert "chore: change id to use uint64 in `AccountAddressByID` (#13411)" This reverts commit 3d0e214. * Add since * Update CLI command * make proto-gen * id->accNum * No API breaking changes * improve err msg * Update CHANGELOG.md Co-authored-by: Julien Robert <julien@rbrt.fr> * Update CHANGELOG.md Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Julien Robert <julien@rbrt.fr> (cherry picked from commit 90bd316) # Conflicts: # CHANGELOG.md # api/cosmos/auth/v1beta1/query.pulsar.go # api/cosmos/auth/v1beta1/query_grpc.pb.go # api/cosmos/distribution/v1beta1/query_grpc.pb.go # api/cosmos/group/v1/types.pulsar.go # proto/cosmos/auth/v1beta1/query.proto # x/auth/client/cli/query.go # x/auth/keeper/grpc_query.go # x/auth/keeper/grpc_query_test.go # x/auth/types/query.pb.go # x/distribution/types/query.pb.go
#13460) (#13461) * refactor: Improve and clarify API around `AccountAddressById` (#13460) * Revert "chore: change id to use uint64 in `AccountAddressByID` (#13411)" This reverts commit 3d0e214. * Add since * Update CLI command * make proto-gen * id->accNum * No API breaking changes * improve err msg * Update CHANGELOG.md Co-authored-by: Julien Robert <julien@rbrt.fr> * Update CHANGELOG.md Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Julien Robert <julien@rbrt.fr> (cherry picked from commit 90bd316) # Conflicts: # CHANGELOG.md # api/cosmos/auth/v1beta1/query.pulsar.go # api/cosmos/auth/v1beta1/query_grpc.pb.go # api/cosmos/distribution/v1beta1/query_grpc.pb.go # api/cosmos/group/v1/types.pulsar.go # proto/cosmos/auth/v1beta1/query.proto # x/auth/client/cli/query.go # x/auth/keeper/grpc_query.go # x/auth/keeper/grpc_query_test.go # x/auth/types/query.pb.go # x/distribution/types/query.pb.go * fix conflicts * changelog Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
cosmos#13460) (cosmos#13461) * refactor: Improve and clarify API around `AccountAddressById` (cosmos#13460) * Revert "chore: change id to use uint64 in `AccountAddressByID` (cosmos#13411)" This reverts commit 3d0e214. * Add since * Update CLI command * make proto-gen * id->accNum * No API breaking changes * improve err msg * Update CHANGELOG.md Co-authored-by: Julien Robert <julien@rbrt.fr> * Update CHANGELOG.md Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Julien Robert <julien@rbrt.fr> (cherry picked from commit 90bd316) # Conflicts: # CHANGELOG.md # api/cosmos/auth/v1beta1/query.pulsar.go # api/cosmos/auth/v1beta1/query_grpc.pb.go # api/cosmos/distribution/v1beta1/query_grpc.pb.go # api/cosmos/group/v1/types.pulsar.go # proto/cosmos/auth/v1beta1/query.proto # x/auth/client/cli/query.go # x/auth/keeper/grpc_query.go # x/auth/keeper/grpc_query_test.go # x/auth/types/query.pb.go # x/distribution/types/query.pb.go * fix conflicts * changelog Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Description
This PR does 2 things:
AccountAddressByID
#13411 (comment), and add some proto commentsq auth address-by-acc-num
(keep old version as an alias)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