( app *AkashApp, encodingConfig sdkutil.EncodingConfig, )
| 48 | ) |
| 49 | |
| 50 | func appModules( |
| 51 | app *AkashApp, |
| 52 | encodingConfig sdkutil.EncodingConfig, |
| 53 | ) []module.AppModule { |
| 54 | cdc := encodingConfig.Codec |
| 55 | |
| 56 | return []module.AppModule{ |
| 57 | genutil.NewAppModule( |
| 58 | app.Keepers.Cosmos.Acct, |
| 59 | app.Keepers.Cosmos.Staking, |
| 60 | app.BaseApp, |
| 61 | encodingConfig.TxConfig, |
| 62 | ), |
| 63 | auth.NewAppModule( |
| 64 | cdc, |
| 65 | app.Keepers.Cosmos.Acct, |
| 66 | nil, |
| 67 | app.GetSubspace(authtypes.ModuleName), |
| 68 | ), |
| 69 | vesting.NewAppModule( |
| 70 | app.Keepers.Cosmos.Acct, |
| 71 | app.Keepers.Cosmos.Bank, |
| 72 | ), |
| 73 | bank.NewAppModule( |
| 74 | cdc, |
| 75 | app.Keepers.Cosmos.Bank, |
| 76 | app.Keepers.Cosmos.Acct, |
| 77 | app.GetSubspace(banktypes.ModuleName), |
| 78 | ), |
| 79 | gov.NewAppModule( |
| 80 | cdc, |
| 81 | app.Keepers.Cosmos.Gov, |
| 82 | app.Keepers.Cosmos.Acct, |
| 83 | app.Keepers.Cosmos.Bank, |
| 84 | app.GetSubspace(govtypes.ModuleName), |
| 85 | ), |
| 86 | mint.NewAppModule( |
| 87 | cdc, |
| 88 | app.Keepers.Cosmos.Mint, |
| 89 | app.Keepers.Cosmos.Acct, |
| 90 | nil, // todo akash-network/support#4 |
| 91 | app.GetSubspace(minttypes.ModuleName), |
| 92 | ), |
| 93 | slashing.NewAppModule( |
| 94 | cdc, |
| 95 | app.Keepers.Cosmos.Slashing, |
| 96 | app.Keepers.Cosmos.Acct, |
| 97 | app.Keepers.Cosmos.Bank, |
| 98 | app.Keepers.Cosmos.Staking, |
| 99 | app.GetSubspace(slashingtypes.ModuleName), |
| 100 | encodingConfig.InterfaceRegistry, |
| 101 | ), |
| 102 | distr.NewAppModule( |
| 103 | cdc, |
| 104 | app.Keepers.Cosmos.Distr, |
| 105 | app.Keepers.Cosmos.Acct, |
| 106 | app.Keepers.Cosmos.Bank, |
| 107 | app.Keepers.Cosmos.Staking, |
no test coverage detected