cosmos-sdk/x/staking/types
Riccardo Montagnin ff31490769
feat: replace all ModuleCdc instances with legacy.Cdc (#11240)
## Description
Replaces all the various `ModuleCdc` instances with the global `legacy.Cdc` to properly support Amino serialization for the `x/authz` module. This is needed in order to correctly support Ledger signing for `MsgExec` and messages.

Closes: #11232



---

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

- [ ] 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-02-23 14:13:36 +00:00
..
authz.go x/authz: audit updates (#9042) 2021-05-06 18:23:48 +00:00
authz.pb.go chore: Add "Since:" on proto doc comments (#10434) 2021-10-27 14:13:35 +00:00
authz_test.go refactor(test)!: refactor `simapp.Setup` function (#9938) 2021-08-17 00:52:06 +00:00
codec.go feat: replace all ModuleCdc instances with legacy.Cdc (#11240) 2022-02-23 14:13:36 +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
data_test.go
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
errors.go feat: Min commission upgrade 0.44 (#10529) 2021-11-12 11:55:55 +00:00
events.go Added a "new_shares" attribute inside the delegate event type (#9214) 2021-04-29 06:57:46 +00:00
expected_keepers.go feat: add coins burned to slash event (#9458) 2021-07-05 14:33:30 +00:00
exported.go
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 feat: replace all ModuleCdc instances with legacy.Cdc (#11240) 2022-02-23 14:13:36 +00:00
hooks.go feat!: add error handling to staking hooks (#9571) 2021-06-30 10:13:07 +00:00
keys.go fix: check store keys length before accessing (#9639) 2021-07-08 13:29:12 +02:00
keys_test.go
msg.go feat: replace all ModuleCdc instances with legacy.Cdc (#11240) 2022-02-23 14:13:36 +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
querier.go
query.pb.go feat: Introduce Cosmos Scalars (#9933) 2021-09-21 09:46:29 +00:00
query.pb.gw.go
staking.pb.go chore: revert some json tags (#10958) 2022-01-20 23:21:37 +01:00
tx.pb.go feat: add message option extension to signal msg signers in a language agnostic way (#10977) 2022-01-28 17:01:56 +00:00
validator.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
validator_test.go