diff --git a/app/app.go b/app/app.go index 64169ff2f..9386de8da 100644 --- a/app/app.go +++ b/app/app.go @@ -26,6 +26,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/streaming" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/mempool" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/version" "github.com/cosmos/cosmos-sdk/x/auth/ante" @@ -227,6 +228,15 @@ func NewIrisApp( legacyAmino := encodingConfig.Amino interfaceRegistry := encodingConfig.InterfaceRegistry + // Setup Mempool + baseAppOptions = append(baseAppOptions, func(app *baseapp.BaseApp) { + memPool := mempool.NoOpMempool{} + app.SetMempool(memPool) + handler := baseapp.NewDefaultProposalHandler(memPool, app) + app.SetPrepareProposal(handler.PrepareProposalHandler()) + app.SetProcessProposal(handler.ProcessProposalHandler()) + }) + bApp := baseapp.NewBaseApp( iristypes.AppName, logger,