fix: Make lanes mutually exclusive by default (#206)

* lanes always mutually exclusive

* nit 1.0.0.0

* gg adding back interface

---------

Co-authored-by: Alex Johnson <alex@skip.money>
This commit is contained in:
David Terpay
2023-11-20 13:17:56 -05:00
committed by GitHub
co-authored by Alex Johnson
parent f1beb215f7
commit f607439637
17 changed files with 475 additions and 247 deletions
+6 -3
View File
@@ -265,12 +265,15 @@ func New(
freeLane,
defaultLane,
}
mempool := block.NewLanedMempool(
mempool, err := block.NewLanedMempool(
app.Logger(),
true,
lanes,
&app.blocksdkKeeper,
lanes...,
)
if err != nil {
panic(err)
}
app.App.SetMempool(mempool)
// Create a global ante handler that will be called on each transaction when