forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: start app wiring with runtime and x/params modules (cosmos#11924)
* feat: start app wiring with runtime and x/params modules * WIP * WIP * docs * docs, cleanup * fixing tests * rollback unrelated changes * fix * test fixes * simplification, tests * fix tests * docs * go mod tidy * update module path * codegen * address middleware removal * update container alpha 4 * Fix cosmossdk.io/api dependency conflict - go mod tidy Co-authored-by: Matt Kocubinski <[email protected]>
- Loading branch information
1 parent
2d8d800
commit 880ed10
Showing
6 changed files
with
91 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
modules: | ||
- name: runtime | ||
config: | ||
"@type": cosmos.app.runtime.v1alpha1.Module | ||
|
||
# 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 ] | ||
|
||
- name: params | ||
config: | ||
"@type": cosmos.params.module.v1.Module |
Oops, something went wrong.