Skip to content

Commit

Permalink
Re enable tx concurrency for non-oracle/prio txs (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil authored May 30, 2023
1 parent a9fa9d8 commit b597b64
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1311,11 +1311,7 @@ func (app *App) ProcessBlock(ctx sdk.Context, txs [][]byte, req BlockProcessRequ
midBlockEvents := app.MidBlock(ctx, req.GetHeight())
events = append(events, midBlockEvents...)

// run other txs - this will run them synchronously without building a dag or executing concurrently
// TODO: re-enable this tx concurrency once dependencies have been declared properly and any potential
// nondeterminism with remediation flow has been fully investigated / resolved
// otherResults, ctx := app.BuildDependenciesAndRunTxs(ctx, txs)
otherResults := app.ProcessBlockSynchronous(ctx, txs)
otherResults, ctx := app.BuildDependenciesAndRunTxs(ctx, txs)
txResults = append(txResults, otherResults...)

// Finalize all Bank Module Transfers here so that events are included
Expand Down

0 comments on commit b597b64

Please sign in to comment.