feat: migrate x/genutil to app wiring (#12124)
* Add genutil module.proto and module init * Update simapp * Add provideDeliverTx to runtime * Update x/genutil/module.go * Update x/genutil/module.go Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
@@ -314,10 +314,6 @@ func NewSimApp(
|
||||
// NOTE: Any module instantiated in the module manager that is later modified
|
||||
// must be passed by reference here.
|
||||
if err := app.RegisterModules(
|
||||
genutil.NewAppModule(
|
||||
app.AccountKeeper, app.StakingKeeper, app.BaseApp.DeliverTx,
|
||||
encodingConfig.TxConfig,
|
||||
),
|
||||
vesting.NewAppModule(app.AccountKeeper, app.BankKeeper),
|
||||
crisis.NewAppModule(&app.CrisisKeeper, skipGenesisInvariants),
|
||||
gov.NewAppModule(app.appCodec, app.GovKeeper, app.AccountKeeper, app.BankKeeper),
|
||||
|
||||
@@ -111,3 +111,7 @@ modules:
|
||||
- name: slashing
|
||||
config:
|
||||
"@type": cosmos.slashing.module.v1.Module
|
||||
|
||||
- name: genutil
|
||||
config:
|
||||
"@type": cosmos.genutil.module.v1.Module
|
||||
Reference in New Issue
Block a user