cosmos-sdk/x/feegrant
Callum Waters eb5b11be8a
feat: implement new gov msg & query servers (#10868)
## Description

Ref: #9438

This PR performs the major work of swapping out the v1beta1 msg server and query server for the new one which can process a proposal as an array of messages. This PR still retains the legacy servers which simply wrap around the new ones, providing the same interface as before.

In order to keep backwards compatibility, a new msg, `MsgExecLegacyContent` has been created which allows `Content` to become a `Msg` type and still be used as part of the new implementation. 


---

### 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-01-21 11:14:00 +00:00
..
client feat: implement new gov msg & query servers (#10868) 2022-01-21 11:14:00 +00:00
keeper feat: Add server implementation of Group module (#10570) 2021-12-10 11:02:11 +00:00
module fix: Check error for RegisterQueryHandlerClient in all modules RegisterGRPCGatewayRoutes (#10439) 2021-10-28 11:01:25 +00:00
simulation feat: implement new gov msg & query servers (#10868) 2022-01-21 11:14:00 +00:00
spec fee grant 2 words (#10874) 2022-01-05 10:46:13 +01:00
basic_fee_test.go refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
basic_fee.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
codec.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
doc.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
errors.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
events.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
expected_keepers.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
feegrant.pb.go feat: Introduce Cosmos Scalars (#9933) 2021-09-21 09:46:29 +00:00
fees.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
filtered_fee_test.go feat: implement new gov msg & query servers (#10868) 2022-01-21 11:14:00 +00:00
filtered_fee.go fix: fix bug when updating allowance inside AllowedMsgAllowance (#10564) 2022-01-05 11:40:20 +00:00
genesis.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
genesis.pb.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
grant_test.go refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
grant.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
key.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
msgs_test.go refactor!: change GetSigners return type to []sdk.AccAddress (#9915) 2021-08-13 15:34:00 +00:00
msgs.go refactor!: change GetSigners return type to []sdk.AccAddress (#9915) 2021-08-13 15:34:00 +00:00
periodic_fee_test.go refactor(test)!: refactor simapp.Setup function (#9938) 2021-08-17 00:52:06 +00:00
periodic_fee.go fix: feegrant grant period not resetting (#9450) 2021-06-07 15:02:49 +00:00
query.pb.go feat: Introduce Cosmos Scalars (#9933) 2021-09-21 09:46:29 +00:00
query.pb.gw.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
README.md docs: update fee grant to 2 words (#10873) 2022-01-05 14:01:09 +00:00
tx.pb.go fix: move new gov messages to v1beta2 (#10632) 2021-11-30 11:09:16 +00:00

Fee Grant

  • Fee Grant - Grant fee allowances for executing transactions.