cosmos-sdk/x/distribution/keeper
Marko 4674c88bb3
refactor: reuse bank blocked addrs list (#10816)
## Description

Reuse bank blocked address instead of passing it to distribution. Right now we are passing the same value to bank and distribution, it doesn't seem like it has any extra benefit?

---

### 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/master/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/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/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)
2021-12-23 10:17:50 +00:00
..
alias_functions.go Update x/auth to use Any (#6165) 2020-05-20 19:21:00 +00:00
allocation.go Make clearer that the distribution iterates over all active validators (#8866) 2021-03-29 16:57:50 +00:00
allocation_test.go feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
common_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
delegation.go Refactor Logging using Zerolog (#8072) 2020-12-03 23:17:21 +00:00
delegation_test.go feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
fee_pool.go Merge PR #6010: Merge x/supply into x/bank 2020-04-20 11:22:12 -04:00
genesis.go [Bank] Remove the unsafe balance changing API (#8473) 2021-02-17 18:20:33 +00:00
grpc_query.go codec: Rename codec and marshaler interfaces (#9226) 2021-04-29 10:46:22 +00:00
grpc_query_test.go feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
hooks.go feat!: add error handling to staking hooks (#9571) 2021-06-30 10:13:07 +00:00
invariants.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
keeper.go refactor: reuse bank blocked addrs list (#10816) 2021-12-23 10:17:50 +00:00
keeper_test.go feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
migrations.go refactor: Rename x/{mod}/legacy to x/{mod}/migrations (#9628) 2021-07-05 14:55:51 +00:00
msg_server.go x/distribution: fix setting withdraw address (#8240) 2020-12-31 12:04:28 -03:00
params.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
proposal_handler.go refactor: reuse bank blocked addrs list (#10816) 2021-12-23 10:17:50 +00:00
querier.go docs: cache-wrapping and virtual store (#8102) 2021-01-05 15:57:33 +00:00
querier_test.go feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
store.go codec: Rename codec and marshaler interfaces (#9226) 2021-04-29 10:46:22 +00:00
validator.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00