chore(auction): Moving bid extraction to from msg handler to ante handler (#135)

* moving bid extraction to antehandler

* lint

* fix

* no zero timeout

* reset integration tests
This commit is contained in:
David Terpay
2023-10-04 18:38:26 -04:00
committed by GitHub
parent d495b38954
commit 3374203c39
18 changed files with 524 additions and 925 deletions
+1 -2
View File
@@ -11,7 +11,6 @@ import (
type BSDKHandlerOptions struct {
BaseOptions ante.HandlerOptions
Mempool block.Mempool
MEVLane auctionante.MEVLane
TxDecoder sdk.TxDecoder
TxEncoder sdk.TxEncoder
@@ -55,7 +54,7 @@ func NewBSDKAnteHandler(options BSDKHandlerOptions) sdk.AnteHandler {
ante.NewSigGasConsumeDecorator(options.BaseOptions.AccountKeeper, options.BaseOptions.SigGasConsumer),
ante.NewSigVerificationDecorator(options.BaseOptions.AccountKeeper, options.BaseOptions.SignModeHandler),
ante.NewIncrementSequenceDecorator(options.BaseOptions.AccountKeeper),
auctionante.NewAuctionDecorator(options.auctionkeeper, options.TxEncoder, options.MEVLane, options.Mempool),
auctionante.NewAuctionDecorator(options.auctionkeeper, options.TxEncoder, options.MEVLane),
}
return sdk.ChainAnteDecorators(anteDecorators...)
-1
View File
@@ -328,7 +328,6 @@ func New(
TxEncoder: app.txConfig.TxEncoder(),
FreeLane: freeLane,
MEVLane: mevLane,
Mempool: mempool,
}
anteHandler := NewBSDKAnteHandler(options)