@@ -157,19 +157,46 @@ func appModules(
157
157
}
158
158
}
159
159
160
- // ModuleBasics defines the module BasicManager that is in charge of setting up basic,
161
- // non-dependant module elements, such as codec registration
162
- // and genesis verification.
163
- func newBasicManagerFromManager (app * InitiaApp ) module.BasicManager {
164
- basicManager := module .NewBasicManagerFromManager (
165
- app .ModuleManager ,
166
- map [string ]module.AppModuleBasic {
167
- genutiltypes .ModuleName : genutil .NewAppModuleBasic (genutil .DefaultMessageValidator ),
168
- govtypes .ModuleName : gov .NewAppModuleBasic (app .appCodec ),
169
- })
170
- basicManager .RegisterLegacyAminoCodec (app .legacyAmino )
171
- basicManager .RegisterInterfaces (app .interfaceRegistry )
172
- return basicManager
160
+ func NewBasicManager () module.BasicManager {
161
+ return module .NewBasicManager (
162
+ genutil.AppModuleBasic {},
163
+ auth.AppModuleBasic {},
164
+ bank.AppModuleBasic {},
165
+ capability.AppModuleBasic {},
166
+ crisis.AppModuleBasic {},
167
+ feegrantmodule.AppModuleBasic {},
168
+ gov.AppModuleBasic {},
169
+ reward.AppModuleBasic {},
170
+ slashing.AppModuleBasic {},
171
+ distr.AppModuleBasic {},
172
+ staking.AppModuleBasic {},
173
+ upgrade.AppModuleBasic {},
174
+ evidence.AppModuleBasic {},
175
+ authzmodule.AppModuleBasic {},
176
+ groupmodule.AppModuleBasic {},
177
+ consensus.AppModuleBasic {},
178
+ move.AppModuleBasic {},
179
+ auction.AppModuleBasic {},
180
+ ophost.AppModuleBasic {},
181
+ // connect modules
182
+ oracle.AppModuleBasic {},
183
+ marketmap.AppModuleBasic {},
184
+ // ibc modules
185
+ ibc.AppModuleBasic {},
186
+ ibctransfer.AppModuleBasic {},
187
+ ibcnfttransfer.AppModuleBasic {},
188
+ ica.AppModuleBasic {},
189
+ icaauth.AppModuleBasic {},
190
+ ibcfee.AppModuleBasic {},
191
+ ibcperm.AppModuleBasic {},
192
+ ibctm.AppModuleBasic {},
193
+ solomachine.AppModuleBasic {},
194
+ packetforward.AppModuleBasic {},
195
+ ibchooks.AppModuleBasic {},
196
+ forwarding.AppModuleBasic {},
197
+ ratelimit.AppModuleBasic {},
198
+ dynamicfee.AppModuleBasic {},
199
+ )
173
200
}
174
201
175
202
/*
0 commit comments