From 68a136b48d2a3418ddcd86f560d167c523c46804 Mon Sep 17 00:00:00 2001 From: Devon Bear Date: Mon, 9 Oct 2023 07:10:36 -0400 Subject: [PATCH] feat(baseapp): expose `Mempool` (#17954) --- baseapp/baseapp.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index d890d80220..4fe2c7e69d 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -406,6 +406,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.