Merge PR #4625: Implement logger on all module keepers

This commit is contained in:
Aayushi Jain
2019-06-26 12:41:14 -04:00
committed by Alexander Bezobchuk
parent 67f6b02118
commit c898dac6a9
14 changed files with 57 additions and 19 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ func NewSimApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bo
genutil.NewAppModule(app.accountKeeper, app.stakingKeeper, app.BaseApp.DeliverTx),
auth.NewAppModule(app.accountKeeper, app.feeCollectionKeeper),
bank.NewAppModule(app.bankKeeper, app.accountKeeper),
crisis.NewAppModule(app.crisisKeeper, app.Logger()),
crisis.NewAppModule(app.crisisKeeper),
distr.NewAppModule(app.distrKeeper),
gov.NewAppModule(app.govKeeper),
mint.NewAppModule(app.mintKeeper),
+1 -1
View File
@@ -59,7 +59,7 @@ func (app *SimApp) prepForZeroHeightGenesis(ctx sdk.Context, jailWhiteList []str
}
/* Just to be safe, assert the invariants on current state. */
app.crisisKeeper.AssertInvariants(ctx, app.Logger())
app.crisisKeeper.AssertInvariants(ctx)
/* Handle fee distribution state. */