diff --git a/app/app.go b/app/app.go index 95794a43..abd3a494 100644 --- a/app/app.go +++ b/app/app.go @@ -27,6 +27,7 @@ import ( authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/cosmos-sdk/x/auth/vesting" + vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/cosmos/cosmos-sdk/x/bank" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" @@ -411,12 +412,47 @@ func New( // CanWithdrawInvariant invariant. // NOTE: staking module is required if HistoricalEntries param > 0 app.mm.SetOrderBeginBlockers( - upgradetypes.ModuleName, capabilitytypes.ModuleName, minttypes.ModuleName, distrtypes.ModuleName, slashingtypes.ModuleName, - evidencetypes.ModuleName, stakingtypes.ModuleName, ibchost.ModuleName, + upgradetypes.ModuleName, + capabilitytypes.ModuleName, + minttypes.ModuleName, + distrtypes.ModuleName, + slashingtypes.ModuleName, + evidencetypes.ModuleName, + stakingtypes.ModuleName, + ibchost.ModuleName, feegrant.ModuleName, + knowledgemoduletypes.ModuleName, + genutiltypes.ModuleName, + banktypes.ModuleName, + crisistypes.ModuleName, + ibctransfertypes.ModuleName, + govtypes.ModuleName, + authtypes.ModuleName, + paramstypes.ModuleName, + authtypes.ModuleName, + vestingtypes.ModuleName, ) - app.mm.SetOrderEndBlockers(crisistypes.ModuleName, govtypes.ModuleName, stakingtypes.ModuleName) + app.mm.SetOrderEndBlockers( + crisistypes.ModuleName, + govtypes.ModuleName, + stakingtypes.ModuleName, + distrtypes.ModuleName, + upgradetypes.ModuleName, + ibctransfertypes.ModuleName, + knowledgemoduletypes.ModuleName, + capabilitytypes.ModuleName, + feegrant.ModuleName, + evidencetypes.ModuleName, + ibchost.ModuleName, + vestingtypes.ModuleName, + minttypes.ModuleName, + slashingtypes.ModuleName, + genutiltypes.ModuleName, + authtypes.ModuleName, + paramstypes.ModuleName, + banktypes.ModuleName, + ) // NOTE: The genutils module must occur after staking so that pools are // properly initialized with tokens from genesis accounts. @@ -438,6 +474,10 @@ func New( evidencetypes.ModuleName, ibctransfertypes.ModuleName, knowledgemoduletypes.ModuleName, + vestingtypes.ModuleName, + paramstypes.ModuleName, + upgradetypes.ModuleName, + feegrant.ModuleName, // this line is used by starport scaffolding # stargate/app/initGenesis )