cosmos-sdk/x/feegrant
Alexander Kolesov 001be0fd54
fix!: Add `--fee-payer` CLI flag, rename `--fee-account` to `--fee-granter` (#10625)
<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #10626

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

Changes:
- Added `--fee-payer` CLI flag:
  - The flag is used to populate the corresponding `context` property.
  - Context in its turn is used to set `fee-payer` during transaction building.
- `--fee-account` CLI flag is renamed to `--fee-granter`:
  - With the  flag added it becomes unclear whether `--fee-account` stands for `payer` or `granter`.
  - Renaming to `--fee-granter` makes things more explicit.
  - This is CLI breaking change.

---

### 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
- [x] 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
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] 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-01 11:47:40 +00:00
..
client fix!: Add `--fee-payer` CLI flag, rename `--fee-account` to `--fee-granter` (#10625) 2021-12-01 11:47:40 +00:00
keeper refactor: Remove store type aliases (#10295) 2021-10-04 16:36:38 +00:00
module fix: Check error for RegisterQueryHandlerClient in all modules RegisterGRPCGatewayRoutes (#10439) 2021-10-28 11:01:25 +00:00
simulation feat!: Ensure InitGenesis returns with non-empty validator set (#9697) 2021-10-05 12:02:51 +00:00
spec fix!: Add `--fee-payer` CLI flag, rename `--fee-account` to `--fee-granter` (#10625) 2021-12-01 11:47:40 +00:00
basic_fee.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
basic_fee_test.go refactor(test)!: refactor `simapp.Setup` function (#9938) 2021-08-17 00:52:06 +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.go rosetta: upgrade to newest version (#9314) 2021-05-15 00:18:59 +02: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.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
key.go Move x/feegrant/types to x/feegrant (#9273) 2021-05-07 07:10:47 +00:00
msgs.go refactor!: change GetSigners return type to []sdk.AccAddress (#9915) 2021-08-13 15:34:00 +00:00
msgs_test.go refactor!: change GetSigners return type to []sdk.AccAddress (#9915) 2021-08-13 15:34:00 +00:00
periodic_fee.go fix: feegrant grant period not resetting (#9450) 2021-06-07 15:02:49 +00:00
periodic_fee_test.go refactor(test)!: refactor `simapp.Setup` function (#9938) 2021-08-17 00:52:06 +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
tx.pb.go fix: move new gov messages to v1beta2 (#10632) 2021-11-30 11:09:16 +00:00