Skip to content

Commit

Permalink
lane fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0n00gler committed Jul 9, 2024
1 parent d99d341 commit 324b774
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ func New(
baseLane.WithOptions(opts...)

// set the block-sdk prepare / process-proposal handlers
blockSdkProposalHandler := blocksdkabci.NewProposalHandler(
blockSdkProposalHandler := blocksdkabci.NewDefaultProposalHandler(
app.Logger(),
app.GetTxConfig().TxDecoder(),
app.GetTxConfig().TxEncoder(),
Expand Down Expand Up @@ -1265,6 +1265,7 @@ func New(
mempool,
app.GetTxConfig().TxDecoder(),
app.BaseApp.CheckTx,
app.BaseApp,
)

app.SetCheckTx(parityCheckTx.CheckTx())
Expand Down
1 change: 0 additions & 1 deletion app/lane.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func (app *App) CreateLanes() *blocksdkbase.BaseLane {
baseLane := base_lane.NewDefaultLane(basecfg, blocksdkbase.DefaultMatchHandler())
baseLane.LaneMempool = blocksdkbase.NewMempool(
blocksdkbase.NewDefaultTxPriority(),
basecfg.TxEncoder,
basecfg.SignerExtractor,
basecfg.MaxTxs,
)
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module github.com/neutron-org/neutron/v4

go 1.22.3
go 1.22.4

require (
cosmossdk.io/client/v2 v2.0.0-beta.1
cosmossdk.io/core v0.11.0
Expand Down

0 comments on commit 324b774

Please sign in to comment.