-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
feat(auth,client/v2): add validator address codec #16768
Conversation
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'll be tagging a new API version after this PR so we can use that in release/v0.50.x as well
I'll fix the tests tomorrow, but tested with simapp that it works. |
@@ -184,7 +184,7 @@ message QueryValidatorDelegationsResponse { | |||
// Query/ValidatorUnbondingDelegations RPC method | |||
message QueryValidatorUnbondingDelegationsRequest { | |||
// validator_addr defines the validator address to query for. | |||
string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; | |||
string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.ValidatorAddressString"]; |
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.
What's the effect of this, in other words, where do we consume this changed option? Looking at generated protos only the packed message descriptors have changed.
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.
Here: https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/client/v2/autocli/flag/field.go#L160 and in the builder.go file changed in this PR
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.
utACK. Nice use of a type alias in depinject!
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.
thanks for knocking this out!!
(cherry picked from commit 02b7607) # Conflicts: # CHANGELOG.md # client/v2/go.mod # client/v2/go.sum # go.mod # go.sum # simapp/go.mod # simapp/go.sum # tests/go.mod # tests/go.sum
…16789) Co-authored-by: Julien Robert <[email protected]>
Description
Closes: #16767, ref #13140
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