feat(baseapp): expose Mempool (backport #17954) (#18009)

Co-authored-by: Devon Bear <itsdevbear@berachain.com>
This commit is contained in:
mergify[bot] 2023-10-09 11:32:12 +00:00 committed by GitHub
parent 43acebdbfa
commit ef5c356ae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.