chore: fix all linting (#24101)

This commit is contained in:
Alex | Interchain Labs
2025-03-21 15:04:36 -07:00
committed by GitHub
parent b7fb7f4858
commit 7fd79df4e1
329 changed files with 1282 additions and 1251 deletions
+5 -2
View File
@@ -103,7 +103,10 @@ func NewIntegrationApp(
}
}
bApp.Commit()
_, err := bApp.Commit()
if err != nil {
panic(fmt.Errorf("failed to commit application: %w", err))
}
ctx := sdkCtx.WithBlockHeader(cmtproto.Header{ChainID: appName}).WithIsCheckTx(true)
@@ -130,7 +133,7 @@ func (app *App) RunMsg(msg sdk.Msg, option ...Option) (*codectypes.Any, error) {
}
if cfg.AutomaticCommit {
defer app.Commit()
defer app.Commit() //nolint:errcheck // not needed in testing
}
if cfg.AutomaticFinalizeBlock {