feat(baseapp): expose Mempool (#17954)

This commit is contained in:
Devon Bear 2023-10-09 07:10:36 -04:00 committed by GitHub
parent 71aa61d74f
commit 68a136b48d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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