[fork] remove unnecessary modules from app
Compare changes
- akrokr authored
+ 7
− 80
@@ -25,10 +25,6 @@ import (
@@ -25,10 +25,6 @@ import (
@@ -44,17 +40,6 @@ import (
@@ -44,17 +40,6 @@ import (
@@ -75,12 +60,8 @@ var (
@@ -75,12 +60,8 @@ var (
@@ -90,7 +71,6 @@ var (
@@ -90,7 +71,6 @@ var (
@@ -127,19 +107,11 @@ type THORChainApp struct {
@@ -127,19 +107,11 @@ type THORChainApp struct {
IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly
@@ -165,12 +137,11 @@ func New(
@@ -165,12 +137,11 @@ func New(
@@ -189,13 +160,6 @@ func New(
@@ -189,13 +160,6 @@ func New(
bApp.SetParamStore(app.ParamsKeeper.Subspace(baseapp.Paramspace).WithKeyTable(paramskeeper.ConsensusParamsKeyTable()))
app.CapabilityKeeper = capabilitykeeper.NewKeeper(appCodec, keys[capabilitytypes.StoreKey], memKeys[capabilitytypes.MemStoreKey])
appCodec, keys[authtypes.StoreKey], app.GetSubspace(authtypes.ModuleName), authtypes.ProtoBaseAccount, maccPerms,
@@ -213,26 +177,6 @@ func New(
@@ -213,26 +177,6 @@ func New(
app.UpgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath, app.BaseApp)
appCodec, keys[ibchost.StoreKey], app.GetSubspace(ibctransfertypes.ModuleName), app.StakingKeeper, app.UpgradeKeeper, scopedIBCKeeper,
@@ -247,28 +191,17 @@ func New(
@@ -247,28 +191,17 @@ func New(
thorchain.NewAppModule(app.thorchainKeeper, appCodec, app.BankKeeper, app.AccountKeeper, keys[thorchaintypes.StoreKey], telemetryEnabled),
@@ -303,8 +236,6 @@ func New(
@@ -303,8 +236,6 @@ func New(
@@ -430,10 +361,6 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
@@ -430,10 +361,6 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
pkt := ibctransfertypes.ParamKeyTable().RegisterParamSet(&ibccoreclienttypes.Params{}).RegisterParamSet(&ibcconnectiontypes.Params{})