You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /validatorsets/{height} endpoint incorrectly returns a sdk.ValAddress in the address field. The address value that is bech32ified is not the operator address, but the consensus address. In this form, the value is meaningless; it should presumably be displayed in the hex form consistent with other endpoints.
make a call to the LCDs /validatorsets/{height} endpoint. The returned address field takes the form of a cosmosvaloper address does not match the known operator address for the given consensus address.
the returned value cosmosvaloper10why2pfdjk2vpqu5nvypu97f0p8ev0cjczsmsa is not chorusone's operator address, but a bech32ified validator address with the cosmosvaloper HRP.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
joe-bowman
changed the title
/validatorsets/{height} endpoint returns incorrect address
/validatorsets/{height} endpoint returns incorrect address
Feb 5, 2019
Summary of Bug
The
/validatorsets/{height}
endpoint incorrectly returns asdk.ValAddress
in the address field. Theaddress
value that is bech32ified is not the operator address, but the consensus address. In this form, the value is meaningless; it should presumably be displayed in the hex form consistent with other endpoints.Location of defect:
cosmos-sdk/client/rpc/validators.go
Line 60 in c04c696
Steps to Reproduce
make a call to the LCDs
/validatorsets/{height}
endpoint. The returnedaddress
field takes the form of acosmosvaloper
address does not match the known operator address for the given consensus address.the returned value
cosmosvaloper10why2pfdjk2vpqu5nvypu97f0p8ev0cjczsmsa
is not chorusone's operator address, but a bech32ified validator address with the cosmosvaloper HRP.For Admin Use
The text was updated successfully, but these errors were encountered: