chore: enable errcheck linter (#16406)

This commit is contained in:
ruthishvitwit
2023-07-12 08:58:27 +00:00
committed by GitHub
parent c5df6a355a
commit fd7e549a3c
140 changed files with 1019 additions and 617 deletions
+8 -2
View File
@@ -139,12 +139,18 @@ func (a *App) EndBlocker(ctx sdk.Context) (sdk.EndBlock, error) {
// Precommiter application updates every commit
func (a *App) Precommiter(ctx sdk.Context) {
a.ModuleManager.Precommit(ctx)
err := a.ModuleManager.Precommit(ctx)
if err != nil {
panic(err)
}
}
// PrepareCheckStater application updates every commit
func (a *App) PrepareCheckStater(ctx sdk.Context) {
a.ModuleManager.PrepareCheckState(ctx)
err := a.ModuleManager.PrepareCheckState(ctx)
if err != nil {
panic(err)
}
}
// InitChainer initializes the chain.