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:
co-authored by
Alex Johnson
parent
f1beb215f7
commit
f607439637
+6
-3
@@ -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
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
|
||||
var (
|
||||
// config params
|
||||
numValidators = 1
|
||||
numValidators = 4
|
||||
numFullNodes = 0
|
||||
denom = "stake"
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ type KeyringOverride struct {
|
||||
// and returns the associated chain
|
||||
func ChainBuilderFromChainSpec(t *testing.T, spec *interchaintest.ChainSpec) ibc.Chain {
|
||||
// require that NumFullNodes == NumValidators == 4
|
||||
require.Equal(t, *spec.NumValidators, 1)
|
||||
require.Equal(t, *spec.NumValidators, 4)
|
||||
|
||||
cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{spec})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user