cosmos-sdk/proto
Likhita Polavarapu 2bb114acec
fix: Evidence API does not decode the hash properly (#13740)
## Description

Closes: #13444 

This PR fixes the x/evidence api query which is not decoding the evidence hash properly because of its type ([]byte). We fix it with the following steps:
1. Adds a new proto field `hash` of type `string`
2. Make the old `evidence_hash` field deprecated
3. Updates query handler 

---

### 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)
2022-11-04 10:08:44 +00:00
..
cosmos fix: Evidence API does not decode the hash properly (#13740) 2022-11-04 10:08:44 +00:00
tendermint chore: proto format (#13685) 2022-10-28 17:40:48 +02:00
buf.gen.gogo.yaml feat: full api module building alongside gogo proto files with buf schema registry support (#10669) 2022-01-06 14:57:55 -05:00
buf.gen.pulsar.yaml chore: api sub-module vanity URL (#11941) 2022-05-12 10:19:04 +00:00
buf.gen.swagger.yaml chore: fix and regenerate swagger yaml #12109 2022-06-01 09:38:29 -04:00
buf.lock refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
buf.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
buf.yaml refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
README.md docs: improve documentation navigation and redirection (#13455) 2022-10-06 15:51:10 +02:00

Maintaining Cosmos SDK Proto Files

All of the Cosmos SDK proto files are defined here. This folder should be synced regularly with buf.build/cosmos/cosmos-sdk regularly by a maintainer by running buf push in this folder.

User facing documentation should not be placed here but instead goes in buf.md and in each protobuf package following the guidelines in https://docs.buf.build/bsr/documentation.

SDK x Buf

Cosmos SDK Version Buf Commit Version
Prior v0.46.0 Unavailable
v0.46.x 8cb30a2c4de74dc9bd8d260b1e75e176
v0.47.x -