From ef5c356ae8dff18e04e50ffebda0ac483057b71f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 11:32:12 +0000 Subject: [PATCH] feat(baseapp): expose `Mempool` (backport #17954) (#18009) Co-authored-by: Devon Bear --- baseapp/baseapp.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index 24bc3b3454..da896ff956 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -393,6 +393,11 @@ func (app *BaseApp) AnteHandler() sdk.AnteHandler { return app.anteHandler } +// Mempool returns the Mempool of the app. +func (app *BaseApp) Mempool() mempool.Mempool { + return app.mempool +} + // Init initializes the app. It seals the app, preventing any // further modifications. In addition, it validates the app against // the earlier provided settings. Returns an error if validation fails.