@@ -104,12 +104,15 @@ import (
104
104
icahostkeeper "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/keeper"
105
105
icahosttypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types"
106
106
icatypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types"
107
+ ibcfee "github.com/cosmos/ibc-go/v8/modules/apps/29-fee"
107
108
ibcfeekeeper "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/keeper"
108
109
ibcfeetypes "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types"
109
110
"github.com/cosmos/ibc-go/v8/modules/apps/transfer"
110
111
ibctransferkeeper "github.com/cosmos/ibc-go/v8/modules/apps/transfer/keeper"
111
112
ibctransfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types"
112
113
ibc "github.com/cosmos/ibc-go/v8/modules/core"
114
+ ibcclienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
115
+ ibcconnectiontypes "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types"
113
116
ibcporttypes "github.com/cosmos/ibc-go/v8/modules/core/05-port/types"
114
117
ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported"
115
118
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
@@ -520,6 +523,7 @@ func New(
520
523
app .IBCKeeper .ChannelKeeper ,
521
524
app .IBCKeeper .PortKeeper , app .AccountKeeper , app .BankKeeper ,
522
525
)
526
+ ibcFeeModule := ibcfee .NewAppModule (app .IBCFeeKeeper )
523
527
524
528
// Create Transfer Keepers
525
529
app .TransferKeeper = ibctransferkeeper .NewKeeper (
@@ -718,7 +722,9 @@ func New(
718
722
ibc .NewAppModule (app .IBCKeeper ),
719
723
params .NewAppModule (app .ParamsKeeper ),
720
724
transferModule ,
725
+ ibcFeeModule ,
721
726
icaModule ,
727
+ ibctm.AppModule {},
722
728
wasmModule ,
723
729
724
730
btcbridgeModule ,
@@ -1060,7 +1066,7 @@ func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig
1060
1066
nodeservice .RegisterGRPCGatewayRoutes (clientCtx , apiSvr .GRPCGatewayRouter )
1061
1067
1062
1068
// Register grpc-gateway routes for all modules.
1063
- ModuleBasics .RegisterGRPCGatewayRoutes (clientCtx , apiSvr .GRPCGatewayRouter )
1069
+ app . BasicModuleManager .RegisterGRPCGatewayRoutes (clientCtx , apiSvr .GRPCGatewayRouter )
1064
1070
1065
1071
if err := server .RegisterSwaggerAPI (apiSvr .ClientCtx , apiSvr .Router , apiConfig .Swagger ); err != nil {
1066
1072
panic (err )
@@ -1103,10 +1109,14 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
1103
1109
paramsKeeper .Subspace (slashingtypes .ModuleName )
1104
1110
paramsKeeper .Subspace (govtypes .ModuleName ).WithKeyTable (govv1 .ParamKeyTable ()) //nolint:staticcheck
1105
1111
paramsKeeper .Subspace (crisistypes .ModuleName )
1112
+
1113
+ keyTable := ibcclienttypes .ParamKeyTable ()
1114
+ keyTable .RegisterParamSet (& ibcconnectiontypes.Params {})
1106
1115
paramsKeeper .Subspace (ibctransfertypes .ModuleName )
1107
1116
paramsKeeper .Subspace (ibcexported .ModuleName )
1108
1117
paramsKeeper .Subspace (icacontrollertypes .SubModuleName )
1109
1118
paramsKeeper .Subspace (icahosttypes .SubModuleName )
1119
+
1110
1120
paramsKeeper .Subspace (btcbridgetypes .ModuleName )
1111
1121
paramsKeeper .Subspace (incentivetypes .ModuleName )
1112
1122
// this line is used by starport scaffolding # stargate/app/paramSubspace
0 commit comments