cosmos-sdk/x/bank/types
Aleksandr Bezobchuk d8059ffcac
feat: add DenomOwners gRPC method for x/bank (#9533)
# Description

Adds a new gRPC method, `DenomOwners`, to the `x/bank` module. This method queries for all account addresses that own a particular token denomination (paginated). _Naming subject to change based on reviews._

closes: #9393

---

### 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...

- [x] 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
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] updated the relevant documentation or specification
- [x] 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...

- [x] 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
- [x] confirmed all author checklist items have been addressed 
- [x] reviewed state machine logic
- [x] reviewed API design and naming
- [x] reviewed documentation is accurate
- [x] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2021-06-28 14:40:44 +00:00
..
authz.pb.go x/authz: Add DelegateAuthorization, UndelegateAuthorization (#8472) 2021-02-20 06:57:57 +00:00
balance.go x/bank/types: speedy up by singly sort balances without having to re-iterate (#9260) 2021-05-05 14:36:25 +00:00
balance_test.go fixing merge conflicts 2021-03-21 19:18:46 -04:00
bank.pb.go x/bank v0.43 Audit updates (#9271) 2021-05-10 12:17:55 -04:00
codec.go x/authz: audit updates (#9042) 2021-05-06 18:23:48 +00:00
errors.go x/bank/types: fix AddressFromBalancesStore panics with invalid keys (#9061) 2021-04-07 16:20:38 +00:00
events.go [bank]: add balance tracking events (#8656) 2021-02-25 18:15:02 +00:00
expected_keepers.go
genesis.go codec: Rename codec and marshaler interfaces (#9226) 2021-04-29 10:46:22 +00:00
genesis.pb.go cosmos-reflection: extend to support writing by reflection clients (#8965) 2021-04-07 00:33:54 +01:00
genesis_test.go auth: allow 0 coin accounts in genesis (#8714) 2021-02-26 15:41:48 +00:00
key.go x/bank v0.43 Audit updates (#9271) 2021-05-10 12:17:55 -04:00
key_test.go x/bank/types: fix AddressFromBalancesStore address length overflow (#9112) 2021-04-15 00:13:55 -07:00
metadata.go bank: name and symbol metadata fields (#8677) 2021-02-24 20:06:04 -03:00
metadata_test.go bank: name and symbol metadata fields (#8677) 2021-02-24 20:06:04 -03:00
msgs.go [rosetta] implement balance tracking and redo tx construction (#8729) 2021-03-11 15:01:29 +00:00
msgs_test.go Refactor store keys for variable-length addresses (#8363) 2021-02-01 13:17:44 +00:00
params.go
params_test.go types: update coin regex (#7027) 2020-08-14 09:09:53 +00:00
querier.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
query.pb.go feat: add DenomOwners gRPC method for x/bank (#9533) 2021-06-28 14:40:44 +00:00
query.pb.gw.go feat: add DenomOwners gRPC method for x/bank (#9533) 2021-06-28 14:40:44 +00:00
send_authorization.go ADR-30 (authz) update based on authz audit (#9270) 2021-05-07 19:38:43 +00:00
send_authorization_test.go x/authz: audit updates (#9042) 2021-05-06 18:23:48 +00:00
tx.pb.go Update gogo proto deps with v1.3.2 security fixes (#8350) 2021-01-15 19:45:34 +00:00