fix(unorderedtx): issues reported in audit (#21467)

This commit is contained in:
Facundo Medica
2024-09-11 11:46:10 +00:00
committed by GitHub
parent 071aa508eb
commit e9eaefa379
9 changed files with 125 additions and 52 deletions
+1
View File
@@ -691,6 +691,7 @@ func (app *SimApp) Name() string { return app.BaseApp.Name() }
// PreBlocker application updates every pre block
func (app *SimApp) PreBlocker(ctx sdk.Context, _ *abci.FinalizeBlockRequest) error {
app.UnorderedTxManager.OnNewBlock(ctx.BlockTime())
return app.ModuleManager.PreBlock(ctx)
}