Skip to content

Commit 13a81b7

Browse files
committed
feat: enable optimistic execution
1 parent ee7c126 commit 13a81b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/app.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,9 @@ func NewEvmos(
369369
app.SetPrepareProposal(handler.PrepareProposalHandler())
370370
app.SetProcessProposal(handler.ProcessProposalHandler())
371371
})
372+
373+
// enable optimistic execution
374+
baseAppOptions = append(baseAppOptions, baseapp.SetOptimisticExecution())
372375

373376
// NOTE we use custom transaction decoder that supports the sdk.Tx interface instead of sdk.StdTx
374377
bApp := baseapp.NewBaseApp(

0 commit comments

Comments
 (0)