Skip to content

Commit

Permalink
feat(baseapp): expose Mempool (backport #17954) (#18009)
Browse files Browse the repository at this point in the history
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
  • Loading branch information
mergify[bot] and itsdevbear authored Oct 9, 2023
1 parent 43acebd commit ef5c356
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ef5c356

Please sign in to comment.