cosmos-sdk/simapp/app.yaml
atheeshp b3ffde1b03
feat: migrate x/authz to use app wiring (#12125)
## Description

ref: #12084, #11899



---

### 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-06-08 15:13:25 +00:00

106 lines
2.3 KiB
YAML

modules:
- name: runtime
config:
"@type": cosmos.app.runtime.v1alpha1.Module
app_name: SimApp
# During begin block slashing happens after distr.BeginBlocker so that
# there is nothing left over in the validator fee pool, so as to keep the
# CanWithdrawInvariant invariant.
# NOTE: staking module is required if HistoricalEntries param > 0
# NOTE: capability module's beginblocker must come before any modules using capabilities (e.g. IBC)
begin_blockers:
[
upgrade,
capability,
mint,
distribution,
slashing,
evidence,
staking,
auth,
bank,
gov,
crisis,
genutil,
authz,
feegrant,
nft,
group,
params,
vesting,
]
end_blockers:
[
crisis,
gov,
staking,
capability,
auth,
bank,
distribution,
slashing,
mint,
genutil,
evidence,
authz,
feegrant,
nft,
group,
params,
upgrade,
vesting,
]
override_store_keys:
- module_name: auth
kv_store_key: acc
- name: auth
config:
"@type": cosmos.auth.module.v1.Module
bech32_prefix: cosmos
module_account_permissions:
- account: fee_collector
- account: distribution
- account: mint
permissions: [minter]
- account: bonded_tokens_pool
permissions: [burner, staking]
- account: not_bonded_tokens_pool
permissions: [burner, staking]
- account: gov
permissions: [burner]
- account: nft
- name: params
config:
"@type": cosmos.params.module.v1.Module
- name: feegrant
config:
"@type": cosmos.feegrant.module.v1.Module
- name: bank
config:
"@type": cosmos.bank.module.v1.Module
- name: authz
config:
"@type": cosmos.authz.module.v1.Module
- name: capability
config:
"@type": cosmos.capability.module.v1.Module
seal_keeper: true
- name: staking
config:
"@type": cosmos.staking.module.v1.Module
- name: nft
config:
"@type": cosmos.nft.module.v1.Module