cosmos-sdk/x/staking/types
Riccardo Montagnin 610b2eec6a
revert: replace all ModuleCdc instances with legacy.Cdc (#11680)
## Description
Reverts the usage of a singleton `legacy.Cdc` codec while (de)serializing `x/authz` messages.

Closes: #11643



---

### 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)
2022-04-20 09:27:40 +00:00
..
authz.go refactor: register x/authz module specific errors (#11670) 2022-04-19 15:08:35 -04:00
authz.pb.go chore: Add "Since:" on proto doc comments (#10434) 2021-10-27 14:13:35 +00:00
authz_test.go fix: panic in `authz` (#11512) 2022-04-04 13:01:18 +00:00
codec.go revert: replace all ModuleCdc instances with legacy.Cdc (#11680) 2022-04-20 09:27:40 +00:00
commission.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
commission_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
data_test.go Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
delegation.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
delegation_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
errors.go feat: Min commission upgrade 0.44 (#10529) 2021-11-12 11:55:55 +00:00
events.go feat: Cancel unbonding delegation entry (#10885) 2022-04-05 10:01:13 +00:00
expected_keepers.go feat: add coins burned to slash event (#9458) 2021-07-05 14:33:30 +00:00
exported.go on-chain power reduction param conversion basic work 2021-01-27 20:24:00 +10:00
genesis.go codec: Rename codec and marshaler interfaces (#9226) 2021-04-29 10:46:22 +00:00
genesis.pb.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
historical_info.go codec: Rename codec and marshaler interfaces (#9226) 2021-04-29 10:46:22 +00:00
historical_info_test.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
hooks.go feat!: add error handling to staking hooks (#9571) 2021-06-30 10:13:07 +00:00
keys.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
keys_test.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
msg.go revert: replace all ModuleCdc instances with legacy.Cdc (#11680) 2022-04-20 09:27:40 +00:00
msg_test.go revert 8909 (#8960) 2021-04-06 11:40:17 +00:00
params.go feat: Min commission upgrade 0.44 (#10529) 2021-11-12 11:55:55 +00:00
params_test.go feat: Min commission upgrade 0.44 (#10529) 2021-11-12 11:55:55 +00:00
pool.go x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00:00
querier.go x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00:00
query.pb.go feat: Introduce Cosmos Scalars (#9933) 2021-09-21 09:46:29 +00:00
query.pb.gw.go fix: dockerfile for building proto (#11452) 2022-03-25 12:35:09 +00:00
staking.pb.go chore: revert some json tags (#10958) 2022-01-20 23:21:37 +01:00
tx.pb.go feat: Cancel unbonding delegation entry (#10885) 2022-04-05 10:01:13 +00:00
validator.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
validator_test.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00