@@ -183,6 +183,7 @@ import (
183
183
ccvconsumertypes "github.com/cosmos/interchain-security/v5/x/ccv/consumer/types"
184
184
185
185
storetypes "cosmossdk.io/store/types"
186
+ "github.com/cosmos/cosmos-sdk/x/consensus"
186
187
consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper"
187
188
consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types"
188
189
pfmkeeper "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8/packetforward/keeper"
@@ -279,6 +280,7 @@ var (
279
280
oracle.AppModuleBasic {},
280
281
marketmap.AppModuleBasic {},
281
282
dynamicfees.AppModuleBasic {},
283
+ consensus.AppModuleBasic {},
282
284
)
283
285
284
286
// module account permissions
@@ -969,6 +971,7 @@ func New(
969
971
marketmapModule ,
970
972
oracleModule ,
971
973
auction .NewAppModule (appCodec , app .AuctionKeeper ),
974
+ consensus .NewAppModule (appCodec , app .ConsensusParamsKeeper ),
972
975
// always be last to make sure that it checks for all invariants and not only part of them
973
976
crisis .NewAppModule (& app .CrisisKeeper , skipGenesisInvariants , app .GetSubspace (crisistypes .ModuleName )),
974
977
)
@@ -1015,6 +1018,7 @@ func New(
1015
1018
feemarkettypes .ModuleName ,
1016
1019
ibcswaptypes .ModuleName ,
1017
1020
dextypes .ModuleName ,
1021
+ consensusparamtypes .ModuleName ,
1018
1022
)
1019
1023
1020
1024
app .mm .SetOrderEndBlockers (
@@ -1051,6 +1055,7 @@ func New(
1051
1055
feemarkettypes .ModuleName ,
1052
1056
ibcswaptypes .ModuleName ,
1053
1057
dextypes .ModuleName ,
1058
+ consensusparamtypes .ModuleName ,
1054
1059
)
1055
1060
1056
1061
// NOTE: The genutils module must occur after staking so that pools are
@@ -1093,6 +1098,7 @@ func New(
1093
1098
ibcswaptypes .ModuleName ,
1094
1099
dextypes .ModuleName ,
1095
1100
dynamicfeestypes .ModuleName ,
1101
+ consensusparamtypes .ModuleName ,
1096
1102
)
1097
1103
1098
1104
app .mm .RegisterInvariants (& app .CrisisKeeper )
0 commit comments