base app fix

This commit is contained in:
David Terpay
2023-08-14 19:20:13 -04:00
parent 9f99bb6866
commit e9dd8259eb
3 changed files with 5 additions and 58 deletions
+3 -3
View File
@@ -139,7 +139,7 @@ type TestApp struct {
FeeGrantKeeper feegrantkeeper.Keeper
// custom checkTx handler
checkTxHandler abci.CheckTx
checkTxHandler auction.CheckTx
}
func init() {
@@ -343,7 +343,7 @@ func New(
app.App.SetProcessProposal(proposalHandler.ProcessProposalHandler())
// Set the custom CheckTx handler on BaseApp.
checkTxHandler := abci.NewCheckTxHandler(
checkTxHandler := auction.NewCheckTxHandler(
app.App,
app.txConfig.TxDecoder(),
tobLane,
@@ -392,7 +392,7 @@ func (app *TestApp) CheckTx(req *cometabci.RequestCheckTx) (*cometabci.ResponseC
}
// SetCheckTx sets the checkTxHandler for the app.
func (app *TestApp) SetCheckTx(handler abci.CheckTx) {
func (app *TestApp) SetCheckTx(handler auction.CheckTx) {
app.checkTxHandler = handler
}