cosmos-sdk/x/staking/keeper
cool-developer bc274d8d95
refactor: staking module using mocks (#12827)
## Description

Closes: #12504 


---

### 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-08-28 14:02:29 +00:00
..
alias_functions.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
delegation_test.go refactor: staking module using mocks (#12827) 2022-08-28 14:02:29 +00:00
delegation.go chore: math lib update and type fixes (#12791) 2022-08-02 11:16:40 +00:00
genesis.go fix: simulation failures (#12858) 2022-08-08 17:48:26 -04:00
grpc_query_test.go refactor: staking module using mocks (#12827) 2022-08-28 14:02:29 +00:00
grpc_query.go chore: remove legacy appmodule boiler plate (#12725) 2022-07-28 13:18:14 +02:00
historical_info_test.go refactor: staking module using mocks (#12827) 2022-08-28 14:02:29 +00:00
historical_info.go chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
hooks.go feat!: add error handling to staking hooks (#9571) 2021-06-30 10:13:07 +00:00
invariants.go chore: math lib update and type fixes (#12791) 2022-08-02 11:16:40 +00:00
keeper_test.go refactor: staking module using mocks (#12827) 2022-08-28 14:02:29 +00:00
keeper.go chore: use math.Int instead of math.Int and apply linting (#12702) 2022-07-26 00:24:47 +02:00
migrations.go chore: use math.Int instead of math.Int and apply linting (#12702) 2022-07-26 00:24:47 +02:00
msg_server_test.go refactor: staking module using mocks (#12827) 2022-08-28 14:02:29 +00:00
msg_server.go chore: use math.Int instead of math.Int and apply linting (#12702) 2022-07-26 00:24:47 +02:00
params.go chore: math lib update and type fixes (#12791) 2022-08-02 11:16:40 +00:00
pool.go chore: math lib update and type fixes (#12791) 2022-08-02 11:16:40 +00:00
power_reduction_test.go refactor: staking module using mocks (#12827) 2022-08-28 14:02:29 +00:00
power_reduction.go chore: sdk.Int to math.Int (#12132) 2022-06-03 12:17:02 +00:00
query_utils.go various linter fixes (#8666) 2021-02-23 08:46:01 +00:00
slash_test.go refactor: staking module using mocks (#12827) 2022-08-28 14:02:29 +00:00
slash.go chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
test_common.go refactor: remove weird casting for staking.Keeper in slashing and distribution (#12973) 2022-08-20 21:11:44 +00:00
val_state_change.go chore: use math.Int instead of math.Int and apply linting (#12702) 2022-07-26 00:24:47 +02:00
validator_test.go refactor: staking module using mocks (#12827) 2022-08-28 14:02:29 +00:00
validator.go fix : Use bytes instead of string comparison in delete validator queue (#12303) 2022-06-22 10:40:19 +02:00